* @return {Promise }
()
| 32 | * @return {Promise<void>} |
| 33 | */ |
| 34 | async function unit() { |
| 35 | maybePrintArgvMessages(); |
| 36 | if (argv.local_changes && !(await getUnitTestsToRun())) { |
| 37 | return; |
| 38 | } |
| 39 | |
| 40 | const config = new RuntimeTestConfig('unit'); |
| 41 | const runner = new Runner(config); |
| 42 | |
| 43 | await runner.setup(); |
| 44 | await runner.run(); |
| 45 | await runner.teardown(); |
| 46 | } |
| 47 | |
| 48 | module.exports = { |
| 49 | unit, |
nothing calls this directly
no test coverage detected