mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-12-18 02:50:43 +00:00
1dbc2915f6
Dot reporter provides no information on which tests suites and tests are executed. Spec reporter is more verbose but it also provides much more information that is useful in general, but especially when debugging. For example, which tests are executed and which tests are skipped. Bug: T280331 Change-Id: If50b811df856abc555904ecab298077215b2621d
33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"selenium-daily": "npm run selenium-test -- --mochaOpts.grep @daily",
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js",
|
|
"test": "npx tsc && npm -s run lint && npm run test:unit",
|
|
"test:unit": "jest",
|
|
"lint": "npm -s run lint:js && npm -s run lint:styles && npm -s run lint:i18n",
|
|
"lint:fix:js": "npm -s run lint:js -- --fix",
|
|
"lint:fix:styles": "npm -s run lint:styles -- --fix",
|
|
"lint:js": "eslint --cache .",
|
|
"lint:styles": "stylelint \"**/*.{less,css}\"",
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jquery": "3.5.6",
|
|
"@wdio/cli": "7.16.13",
|
|
"@wdio/junit-reporter": "7.16.13",
|
|
"@wdio/local-runner": "7.16.13",
|
|
"@wdio/mocha-framework": "7.16.13",
|
|
"@wdio/spec-reporter": "7.16.13",
|
|
"@wikimedia/mw-node-qunit": "6.2.1",
|
|
"@wikimedia/types-wikimedia": "0.3.4",
|
|
"eslint-config-wikimedia": "0.20.0",
|
|
"grunt-banana-checker": "0.9.0",
|
|
"jest": "27.4.7",
|
|
"stylelint-config-wikimedia": "0.11.1",
|
|
"typescript": "4.3.5",
|
|
"wdio-mediawiki": "2.1.0",
|
|
"webdriverio": "7.16.13"
|
|
}
|
|
}
|