(name, check)
| 119 | |
| 120 | let failures = 0; |
| 121 | function test(name, check) { |
| 122 | try { |
| 123 | check(); |
| 124 | console.log(`PASS ${name}`); |
| 125 | } catch (error) { |
| 126 | failures += 1; |
| 127 | console.error(`FAIL ${name}: ${error.message}`); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | test("container scripts explicitly select Bash", () => { |
| 132 | for (const step of [PREFLIGHT, VERSION_GATE]) { |
no test coverage detected