chore: extraneous

This commit is contained in:
cha0s 2022-02-26 12:12:33 -06:00
parent 686eb162e8
commit 850b889b9e
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ module.exports.use.push((neutrino) => {
// Tests.
module.exports.use.push((neutrino) => {
// 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`)));
if (testPaths.length > 0) {
const testEntry = neutrino.config.entry('test').clear();

View File

@ -19,7 +19,7 @@ const config = require('../../../../core/src/bootstrap/fleck.neutrinorc');
config.use.push((neutrino) => {
// 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) {
testPaths.push(...glob.sync(join(FLECKS_ROOT, `test/platforms/${this.platforms[i]}/*.js`)));
}