test: fix globby usage with v12
This commit is contained in:
Родитель
329865e433
Коммит
e8a2b7fa78
|
@ -1,5 +1,5 @@
|
|||
/* eslint "global-require": "off", "import/no-dynamic-require": "off" */
|
||||
import globby from 'globby';
|
||||
import { globbySync } from 'globby';
|
||||
import minimist from 'minimist';
|
||||
import * as path from 'path';
|
||||
|
||||
|
@ -36,7 +36,7 @@ for (const p of packages) {
|
|||
if (argv.integration === false || process.env.INTEGRATION_TESTS === '0') {
|
||||
specGlob.push(`!${apiSpec}`);
|
||||
}
|
||||
testFiles.push(...globby.sync(specGlob));
|
||||
testFiles.push(...globbySync(specGlob));
|
||||
}
|
||||
|
||||
for (const f of testFiles) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче