Merge pull request #789 from k88hudson/reduce-test-output

test(addon): Reduce useless jpm test output
This commit is contained in:
Kate Hudson 2016-06-02 16:30:47 -04:00
Родитель f15c54e600 c0618671b8
Коммит 1a516bba27
4 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -1,4 +1,5 @@
{
"javascript.options.strict": false,
"xpinstall.signatures.required": false,
"extensions.@activity-streams.sdk.console.logLevel": "info",
"extensions.@activity-streams.telemetry.ping.endpoint": "https://onyx_tiles.stage.mozaws.net/v3/links/activity-stream",

Просмотреть файл

@ -159,7 +159,7 @@
"pretest": "npm run bundle && npm run copyTestImages && npm run copyTopSitesJson",
"test:lint": "eslint . && jscs . && sass-lint -v -q",
"test:checkbinary": "echo \"JPM_FIREFOX_BINARY: ${JPM_FIREFOX_BINARY}\"",
"test:jpm": "jpm test -b ${JPM_FIREFOX_BINARY:-\"firefox\"} --prefs ./test-prefs.json",
"test:jpm": "jpm test -b ${JPM_FIREFOX_BINARY:-\"firefox\"} --prefs ./test-prefs.json -v",
"test:karma": "NODE_ENV=test karma start",
"posttest": "cat logs/reports/coverage/text-summary.txt",
"tdd": "npm run test:karma -- --no-single-run --browsers Chrome",

Просмотреть файл

@ -1,5 +1,6 @@
{
"xpinstall.signatures.required": false,
"javascript.options.strict": false,
"extensions.@activity-streams.sdk.console.logLevel": "info",
"extensions.@activity-streams.performance.log": false,
"extensions.@activity-streams.previews.enabled": false,

Просмотреть файл

@ -47,7 +47,7 @@ scripts:
lint: eslint . && jscs . && sass-lint -v -q
checkbinary: echo "JPM_FIREFOX_BINARY: ${JPM_FIREFOX_BINARY}"
# test:jpm: Run jpm tests
jpm: jpm test -b ${JPM_FIREFOX_BINARY:-"firefox"} --prefs ./test-prefs.json
jpm: jpm test -b ${JPM_FIREFOX_BINARY:-"firefox"} --prefs ./test-prefs.json -v
# test:karma: Run content tests only
karma: NODE_ENV=test karma start
post: cat logs/reports/coverage/text-summary.txt