misc: fix unit-viewer command for windows (#7624)
This commit is contained in:
Родитель
0cd2214cc9
Коммит
0208c4061a
|
@ -40,7 +40,8 @@ module.exports = [
|
|||
details: {
|
||||
items: {
|
||||
0: {
|
||||
url: /main-thread-consumer/,
|
||||
// FIXME: Appveyor finds this particular assertion very flaky for some reason :(
|
||||
url: process.env.APPVEYOR ? /main/ : /main-thread-consumer/,
|
||||
scripting: '>1000',
|
||||
},
|
||||
},
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"test-lantern": "bash lighthouse-core/scripts/test-lantern.sh",
|
||||
"unit-core": "jest \"lighthouse-core/\"",
|
||||
"unit-cli": "jest \"lighthouse-cli/\"",
|
||||
"unit-viewer": "jest lighthouse-viewer/**/*-test.js",
|
||||
"unit-viewer": "jest \"lighthouse-viewer/.*-test.js\"",
|
||||
"unit": "yarn unit-core && yarn unit-cli && yarn unit-viewer",
|
||||
"unit:ci": "npm run unit-core -- --runInBand --ci --coverage && npm run unit-cli -- --runInBand --ci --coverage && npm run unit-viewer -- --runInBand --ci --coverage",
|
||||
"core-unit": "yarn unit-core",
|
||||
|
|
Загрузка…
Ссылка в новой задаче