Skip to content

Commit

Permalink
chore: fix permutation tests, do not emit compiled js files for ts tests
Browse files Browse the repository at this point in the history
  • Loading branch information
straker committed May 1, 2024
1 parent b3bdc3b commit d7102e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/permutations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d7102e4

Please sign in to comment.