56
56
"postcss-html" : " ^1.5.0" ,
57
57
"squire-rte" : " 1.11.3" ,
58
58
"sweetalert2" : " 11.7.3" ,
59
+ "tap-xunit" : " ^2.4.1" ,
59
60
"zxcvbn" : " 4.4.2"
60
61
},
61
62
"scripts" : {
70
71
"test_local_chrome_enterprise_mock" : " npm run pretest && npm run test_ci_chrome_enterprise -- -- --pool-size=1 --debug" ,
71
72
"test_local_chrome_consumer_live_gmail" : " npm run pretest && npm run test_ci_chrome_consumer_live_gmail -- -- --pool-size=1 --debug" ,
72
73
"test_local_chrome_consumer_mock_flaky" : " npm run pretest && npm run test_ci_chrome_consumer_flaky -- -- --pool-size=1 --retry=false --debug" ,
73
- "test_local_unit_consumer" : " npm run pretest && npx ava --timeout=20m --verbose --concurrency=10 build/test/test/source/test.js -- UNIT-TESTS --retry=false --debug CONSUMER-MOCK" ,
74
- "test_local_unit_enterprise" : " npm run pretest && npx ava --timeout=20m --verbose --concurrency=10 build/test/test/source/test.js -- UNIT-TESTS --retry=false --pool-size=1 --debug ENTERPRISE-MOCK" ,
74
+ "test_local_unit_consumer" : " npm run pretest && npx ava --timeout=20m --verbose --tap -- concurrency=10 build/test/test/source/test.js -- UNIT-TESTS --retry=false --debug CONSUMER-MOCK | npx tap-xunit > report.xml " ,
75
+ "test_local_unit_enterprise" : " npm run pretest && npx ava --timeout=20m --verbose --tap -- concurrency=10 build/test/test/source/test.js -- UNIT-TESTS --retry=false --pool-size=1 --debug ENTERPRISE-MOCK | npx tap-xunit > report.xml " ,
75
76
"test_local_chrome_consumer_mock_headless" : " xvfb-run npm run test_local_chrome_consumer_mock" ,
76
77
"test_stylelint" : " stylelint extension/css/cryptup.css extension/css/settings.css extension/css/webmail.css && stylelint extension/**/*.htm --custom-syntax postcss-html" ,
77
78
"test_eslint" : " eslint --ext ts extension test tooling" ,
78
79
"test_patterns" : " node build/test/test/source/patterns.js" ,
79
80
"test_async_stack" : " node build/test/test/source/async-stack.js" ,
80
81
"test_buf" : " npx ava --timeout=3m --verbose --concurrency=10 build/test/test/source/buf.js" ,
81
- "test_ci_chrome_consumer_live_gmail" : " npx ava --timeout=30m --verbose --concurrency=1 build/test/test/source/test.js -- CONSUMER-LIVE-GMAIL STANDARD-GROUP" ,
82
- "test_ci_chrome_consumer" : " npx ava --timeout=30m --verbose --concurrency=10 build/test/test/source/test.js -- CONSUMER-MOCK STANDARD-GROUP" ,
83
- "test_ci_chrome_enterprise" : " npx ava --timeout=30m --verbose --concurrency=10 build/test/test/source/test.js -- ENTERPRISE-MOCK STANDARD-GROUP" ,
84
- "test_ci_chrome_consumer_flaky" : " npx ava --timeout=30m --verbose --concurrency=10 build/test/test/source/test.js -- CONSUMER-MOCK FLAKY-GROUP" ,
85
- "test_ci_chrome_content_scripts" : " npx ava --timeout=3m --verbose build/test/test/source/test.js -- CONTENT-SCRIPT-TESTS" ,
82
+ "test_ci_chrome_consumer_live_gmail" : " npx ava --timeout=30m --verbose --tap -- concurrency=1 build/test/test/source/test.js -- CONSUMER-LIVE-GMAIL STANDARD-GROUP | npx tap-xunit > report.xml " ,
83
+ "test_ci_chrome_consumer" : " npx ava --timeout=30m --verbose --tap -- concurrency=10 build/test/test/source/test.js -- CONSUMER-MOCK STANDARD-GROUP | npx tap-xunit > report.xml " ,
84
+ "test_ci_chrome_enterprise" : " npx ava --timeout=30m --verbose --tap -- concurrency=10 build/test/test/source/test.js -- ENTERPRISE-MOCK STANDARD-GROUP | npx tap-xunit > report.xml " ,
85
+ "test_ci_chrome_consumer_flaky" : " npx ava --timeout=30m --verbose --tap -- concurrency=10 build/test/test/source/test.js -- CONSUMER-MOCK FLAKY-GROUP | npx tap-xunit > report.xml " ,
86
+ "test_ci_chrome_content_scripts" : " npx ava --timeout=3m --verbose --tap build/test/test/source/test.js -- CONTENT-SCRIPT-TESTS > report.xml " ,
86
87
"dev_start_gmail_mock_api" : " ./scripts/build.sh && cd ./conf && node ../build/tooling/tsc-compiler --project tsconfig.test.json && cd .. && node ./build/test/test/source/mock.js" ,
87
88
"run_firefox" : " npm run build-incremental && npx web-ext run --source-dir ./build/firefox-consumer/ --firefox-profile ~/.mozilla/firefox/flowcrypt-dev --keep-profile-changes" ,
88
89
"run_firefox_windows" : " npm run build-incremental && npx web-ext run --source-dir ./build/firefox-consumer/ --firefox-profile %userprofile%/AppData/Local/Mozilla/Firefox/Profiles/flowcrypt-dev --keep-profile-changes" ,
111
112
" npm run test_stylelint"
112
113
]
113
114
}
114
- }
115
+ }
0 commit comments