toReverse is not available on old Node.js
This commit is contained in:
parent
b3066abaff
commit
62fd8b41de
|
|
@ -99,7 +99,7 @@ export function createGlobalSetupTasks(config: FullConfigInternal) {
|
||||||
tasks.push(createRemoveOutputDirsTask());
|
tasks.push(createRemoveOutputDirsTask());
|
||||||
tasks.push(
|
tasks.push(
|
||||||
...createPluginSetupTasks(config),
|
...createPluginSetupTasks(config),
|
||||||
...config.globalTeardowns.toReversed().map(file => createGlobalTeardownTask(file, config)),
|
...config.globalTeardowns.map(file => createGlobalTeardownTask(file, config)).reverse(),
|
||||||
...config.globalSetups.map(file => createGlobalSetupTask(file, config)),
|
...config.globalSetups.map(file => createGlobalSetupTask(file, config)),
|
||||||
);
|
);
|
||||||
return tasks;
|
return tasks;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue