Don't create a spec runner if it exists. This makes room for webpack to build the tests and supply their own spec_runner.html file.

This commit is contained in:
Timothy Farrell 2018-07-26 16:23:25 -05:00
parent 4ba38763f4
commit e89f11f8e4

View File

@ -40,6 +40,9 @@ runTestsInChrome();
// ----------------------
function writeSpecRunner() {
if (fs.existsSync(testPath)) {
return;
}
let settings = {};
try {
settings = JSON.parse(fs.readFileSync(path.join(packageRoot, 'test.json'), 'utf8'));