Fix mocha report fixture + test duration handling

This commit is contained in:
Michal Dorner 2021-02-24 21:32:51 +01:00
parent 9b675bd55f
commit 8dba8714d0
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
6 changed files with 20 additions and 87 deletions

View file

@ -4,8 +4,7 @@
"private": true,
"description": "Generates test fixtures for test-reporter action",
"scripts": {
"test-json": "mocha --reporter json > ../../__tests__/fixtures/mocha-json.json",
"test": "mocha"
"test": "mocha --reporter json > ../../__tests__/fixtures/mocha-json.json"
},
"author": "Michal Dorner <dorner.michal@gmail.com>",
"license": "MIT",