Use lcoal core when running our own tests in parallel
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
|
||||
@@ -75,6 +75,7 @@ fs.readdirSync(rootPath).forEach(function(file) {
|
||||
});
|
||||
|
||||
module.exports.files = {
|
||||
self: __filename,
|
||||
path: rootPath,
|
||||
bootDir: rootPath,
|
||||
bootFiles: bootFiles,
|
||||
|
||||
Reference in New Issue
Block a user