Use lcoal core when running our own tests in parallel

This commit is contained in:
Steve Gravrock
2022-09-18 19:59:21 -07:00
parent fe6762b470
commit dd98a45003
2 changed files with 2 additions and 4 deletions

View File

@@ -56,11 +56,8 @@ module.exports = function(grunt) {
console.log('parallel runner pid:', process.pid);
const done = this.async();
// TODO use this core instead of the one imported by jasmine/parallel
// const jasmineCore = require('./lib/jasmine-core.js');
const runner = new ParallelRunner({
// TODO:
// jasmineCore,
jasmineCore: require('./lib/jasmine-core.js'),
numWorkers: require('os').cpus().length
});

View File

@@ -75,6 +75,7 @@ fs.readdirSync(rootPath).forEach(function(file) {
});
module.exports.files = {
self: __filename,
path: rootPath,
bootDir: rootPath,
bootFiles: bootFiles,