chore: extraneous
This commit is contained in:
parent
686eb162e8
commit
850b889b9e
|
@ -26,7 +26,7 @@ module.exports.use.push((neutrino) => {
|
||||||
// Tests.
|
// Tests.
|
||||||
module.exports.use.push((neutrino) => {
|
module.exports.use.push((neutrino) => {
|
||||||
// Test entrypoint.
|
// Test entrypoint.
|
||||||
const testPaths = glob.sync(join(FLECKS_ROOT, 'test/*.js'), {ignore: 'platforms'});
|
const testPaths = glob.sync(join(FLECKS_ROOT, 'test/*.js'));
|
||||||
testPaths.push(...glob.sync(join(FLECKS_ROOT, `test/platforms/server/*.js`)));
|
testPaths.push(...glob.sync(join(FLECKS_ROOT, `test/platforms/server/*.js`)));
|
||||||
if (testPaths.length > 0) {
|
if (testPaths.length > 0) {
|
||||||
const testEntry = neutrino.config.entry('test').clear();
|
const testEntry = neutrino.config.entry('test').clear();
|
||||||
|
|
|
@ -19,7 +19,7 @@ const config = require('../../../../core/src/bootstrap/fleck.neutrinorc');
|
||||||
|
|
||||||
config.use.push((neutrino) => {
|
config.use.push((neutrino) => {
|
||||||
// Test entrypoint.
|
// Test entrypoint.
|
||||||
const testPaths = glob.sync(join(FLECKS_ROOT, 'test/*.js'), {ignore: 'platforms'});
|
const testPaths = glob.sync(join(FLECKS_ROOT, 'test/*.js'));
|
||||||
for (let i = 0; i < this.platforms.length; ++i) {
|
for (let i = 0; i < this.platforms.length; ++i) {
|
||||||
testPaths.push(...glob.sync(join(FLECKS_ROOT, `test/platforms/${this.platforms[i]}/*.js`)));
|
testPaths.push(...glob.sync(join(FLECKS_ROOT, `test/platforms/${this.platforms[i]}/*.js`)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user