From 1ca20073fe43f2bffd606ad253f117bfc5b58fcc Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Sat, 19 Feb 2022 18:59:15 -0500 Subject: [PATCH] cleanup --- tests/module-types/override-to-cjs/tsconfig-swc.json | 11 +---------- tests/module-types/override-to-esm/tsconfig-swc.json | 10 +--------- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/tests/module-types/override-to-cjs/tsconfig-swc.json b/tests/module-types/override-to-cjs/tsconfig-swc.json index ca7aae1eb..a6db51889 100644 --- a/tests/module-types/override-to-cjs/tsconfig-swc.json +++ b/tests/module-types/override-to-cjs/tsconfig-swc.json @@ -1,15 +1,6 @@ { + "extends": "./tsconfig.json", "ts-node": { "swc": true, - "moduleTypes": { - "webpack.config.ts": "cjs", - // Test that subsequent patterns override earlier ones - "src/cjs-subdir/**/*": "esm", - "src/cjs-subdir": "cjs", - "src/cjs-subdir/esm-exception.ts": "esm" - } - }, - "compilerOptions": { - "module": "ES2015" } } diff --git a/tests/module-types/override-to-esm/tsconfig-swc.json b/tests/module-types/override-to-esm/tsconfig-swc.json index 35a08fc62..a6db51889 100644 --- a/tests/module-types/override-to-esm/tsconfig-swc.json +++ b/tests/module-types/override-to-esm/tsconfig-swc.json @@ -1,14 +1,6 @@ { + "extends": "./tsconfig.json", "ts-node": { "swc": true, - "moduleTypes": { - // Test that subsequent patterns override earlier ones - "src/esm-subdir/**/*": "cjs", - "src/esm-subdir": "esm", - "src/esm-subdir/cjs-exception.ts": "cjs" - } - }, - "compilerOptions": { - "module": "CommonJS" } }