mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
fix(parse-env-file.spec): fix the failing test cases due to node version changes
This commit is contained in:
parent
6ced969122
commit
feb6c6fff9
@ -194,7 +194,7 @@ describe('getEnvFileVars', (): void => {
|
||||
})
|
||||
});
|
||||
|
||||
(process.features.typescript ? describe : describe.skip)('TS', () => {
|
||||
(process.features.typescript === 'transform' ? describe : describe.skip)('TS', () => {
|
||||
it('should parse a .ts file', async () => {
|
||||
const env = await getEnvFileVars('./test/test-files/ts-test.ts');
|
||||
assert.deepEqual(env, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user