@@ -92,17 +92,17 @@ test('should throw an error when a flag is declared twice', async () => {
|
92 | 92 | assert.strictEqual(result.code, 9); |
93 | 93 | }); |
94 | 94 | |
95 | | -test('should override env-file', onlyWithAmaroAndNodeOptions, async () => { |
| 95 | +test('should not override env-file', onlyWithAmaroAndNodeOptions, async () => { |
96 | 96 | const result = await spawnPromisified(process.execPath, [ |
97 | 97 | '--no-warnings', |
98 | 98 | '--experimental-config-file', |
99 | 99 | fixtures.path('rc/transform-types.json'), |
100 | 100 | '--env-file', fixtures.path('dotenv/node-options-no-tranform.env'), |
101 | 101 | fixtures.path('typescript/ts/transformation/test-enum.ts'), |
102 | 102 | ]); |
103 | | -assert.strictEqual(result.stderr, ''); |
104 | | -assert.match(result.stdout, /Hello, TypeScript!/); |
105 | | -assert.strictEqual(result.code, 0); |
| 103 | +assert.match(result.stderr, /SyntaxError/); |
| 104 | +assert.strictEqual(result.stdout, ''); |
| 105 | +assert.strictEqual(result.code, 1); |
106 | 106 | }); |
107 | 107 | |
108 | 108 | test('should not override NODE_OPTIONS', onlyWithAmaro, async () => { |
|