fix: bad ref
This commit is contained in:
parent
209a015b78
commit
5cea62353b
|
@ -37,8 +37,8 @@ else {
|
||||||
config.use.push((neutrino) => {
|
config.use.push((neutrino) => {
|
||||||
// Test entrypoint.
|
// Test entrypoint.
|
||||||
const testPaths = glob.sync(join(FLECKS_ROOT, 'test/*.js'));
|
const testPaths = glob.sync(join(FLECKS_ROOT, 'test/*.js'));
|
||||||
for (let i = 0; i < this.platforms.length; ++i) {
|
for (let i = 0; i < flecks.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/${flecks.platforms[i]}/*.js`)));
|
||||||
}
|
}
|
||||||
if (testPaths.length > 0) {
|
if (testPaths.length > 0) {
|
||||||
const testEntry = neutrino.config.entry('test').clear();
|
const testEntry = neutrino.config.entry('test').clear();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user