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(
|
||||
...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)),
|
||||
);
|
||||
return tasks;
|
||||
|
|
|
|||
Loading…
Reference in a new issue