From d7102e4a5d2707df14e26b6a195ecdd2380c235b Mon Sep 17 00:00:00 2001 From: straker <2433219+straker@users.noreply.github.com> Date: Tue, 30 Apr 2024 20:09:31 -0600 Subject: [PATCH] chore: fix permutation tests, do not emit compiled js files for ts tests --- package.json | 2 +- test/permutations/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 76025859..5bcee839 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test": "karma start --single-run", "test:watch": "karma start", "test:permutations": "node test/permutations", - "test:ts": "tsc test/typings/*.ts", + "test:ts": "tsc test/typings/*.ts --noEmit", "test:debug": "karma start --debug", "eslint": "eslint ./{src,test}/", "build": "gulp build", diff --git a/test/permutations/index.js b/test/permutations/index.js index e8f9765f..1b4faa33 100644 --- a/test/permutations/index.js +++ b/test/permutations/index.js @@ -65,7 +65,7 @@ Object.keys(options).forEach(async option => { path.join(__dirname, '../setup.js'), 'utf-8' ); - setup = setup.replace('../src/core.js', '../../src/core.js'); + setup = setup.replaceAll('../src/', '../../src/'); // copy test suite and change path let test = fs.readFileSync(