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(