File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1717 uses : dorny/test-reporter@v1
1818 if : success() || failure() # run this step even if previous step failed
1919 with :
20- name : Mocha Tests # Name of the check run which will be created
21- path : mochawesome- report/mochawesome .json # Path to test results
20+ name : Mocha Tests # Name of the check run which will be created
21+ path : report.json # Path to test results
2222 reporter : mocha-json # Format of test results
Original file line number Diff line number Diff line change 3232 "test" : " npm run test:api && npm run test:unit" ,
3333 "test:api" : " BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/test.js -t 30000 --reporter mochawesome --require babel-polyfill" ,
3434 "test:unit" : " BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter mochawesome --require babel-polyfill" ,
35+ "test:unit:report:json" : " BABEL_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register ./test/unit/index.js -t 30000 --reporter json --reporter-options output=report.json --require babel-polyfill" ,
3536 "test:typescript" : " jest --testPathPattern=test/typescript --config ./jest.config.js --coverage" ,
3637 "test:debug" : " BABEL_ENV=test mocha debug --require @babel/register ./test" ,
3738 "lint" : " eslint lib test" ,
You can’t perform that action at this time.
0 commit comments