Configured all unit tests to use dot reporter

refs https://ghost.slack.com/archives/C02G9E68C/p1696490748701419

- this configures mocha to use the dot reporter because the default is
  way too verbose in CI
This commit is contained in:
Daniel Lockyer 2023-10-05 12:09:39 +02:00 committed by Daniel Lockyer
parent 1882b7048d
commit 85098e07d4
79 changed files with 80 additions and 80 deletions

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --lines 71 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --lines 71 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -9,7 +9,7 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -9,7 +9,7 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -24,7 +24,7 @@
"dev": "node --watch index.js", "dev": "node --watch index.js",
"build": "postcss core/frontend/public/ghost.css --no-map --use cssnano -o core/frontend/public/ghost.min.css", "build": "postcss core/frontend/public/ghost.css --no-map --use cssnano -o core/frontend/public/ghost.min.css",
"test": "yarn test:unit", "test": "yarn test:unit",
"test:base": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js", "test:base": "mocha --reporter dot --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js",
"test:single": "yarn test:base --timeout=60000", "test:single": "yarn test:base --timeout=60000",
"test:all": "yarn test:unit && yarn test:integration && yarn test:e2e && yarn lint", "test:all": "yarn test:unit && yarn test:integration && yarn test:e2e && yarn lint",
"test:debug": "DEBUG=ghost:test* yarn test", "test:debug": "DEBUG=ghost:test* yarn test",
@ -45,7 +45,7 @@
"test:unit:slow": "yarn test:unit --reporter=mocha-slow-test-reporter", "test:unit:slow": "yarn test:unit --reporter=mocha-slow-test-reporter",
"test:int:slow": "yarn test:integration --reporter=mocha-slow-test-reporter", "test:int:slow": "yarn test:integration --reporter=mocha-slow-test-reporter",
"test:e2e:slow": "yarn test:e2e --reporter=mocha-slow-test-reporter", "test:e2e:slow": "yarn test:e2e --reporter=mocha-slow-test-reporter",
"test:reg:slow": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000 --reporter=mocha-slow-test-reporter", "test:reg:slow": "mocha --reporter dot --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000 --reporter=mocha-slow-test-reporter",
"lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js' --cache", "lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js' --cache",
"lint:shared": "eslint --ignore-path .eslintignore 'core/shared/**/*.js' --cache", "lint:shared": "eslint --ignore-path .eslintignore 'core/shared/**/*.js' --cache",
"lint:frontend": "eslint --ignore-path .eslintignore 'core/frontend/**/*.js' --cache", "lint:frontend": "eslint --ignore-path .eslintignore 'core/frontend/**/*.js' --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -8,7 +8,7 @@
"types": "types", "types": "types",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage --100 mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage --100 -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -11,7 +11,7 @@
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"prepare": "tsc", "prepare": "tsc",
"test:unit": "NODE_ENV=testing c8 --src src --all --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage --100 mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage --100 -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test:unit": "yarn test", "test:unit": "yarn test",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -11,7 +11,7 @@
], ],
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -8,7 +8,7 @@
"types": "./build/i18n.d.ts", "types": "./build/i18n.d.ts",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit:base": "NODE_ENV=testing c8 --include index.js --include lib --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit:base": "NODE_ENV=testing c8 --include index.js --include lib --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test:unit": "yarn test:unit:base && yarn translate", "test:unit": "yarn test:unit:base && yarn translate",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter html --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter html --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -9,7 +9,7 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --lines 88 --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --lines 88 --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -9,7 +9,7 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha --reporter dot './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -9,7 +9,7 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -9,7 +9,7 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -10,7 +10,7 @@
"dev": "tsc --watch --preserveWatchOutput --sourceMap", "dev": "tsc --watch --preserveWatchOutput --sourceMap",
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -10,7 +10,7 @@
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:unit && yarn test:types", "test": "yarn test:unit && yarn test:types",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -11,7 +11,7 @@
"build": "tsc", "build": "tsc",
"build:ts": "yarn build", "build:ts": "yarn build",
"prepare": "tsc", "prepare": "tsc",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'", "test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit", "test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit", "test:types": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache", "lint:code": "eslint src/ --ext .ts --cache",

View File

@ -7,7 +7,7 @@
"main": "referrers.json", "main": "referrers.json",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint": "yarn lint:test", "lint": "yarn lint:test",
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache" "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache"

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura --check-coverage -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing TZ=UTC c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing TZ=UTC c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -8,7 +8,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing TZ=UTC c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing TZ=UTC c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -8,7 +8,7 @@
"exports": "./lib/UpdateCheckService.js", "exports": "./lib/UpdateCheckService.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",

View File

@ -7,7 +7,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "echo \"Implement me!\"", "dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'", "test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura -- mocha --reporter dot './test/**/*.test.js'",
"test": "yarn test:unit", "test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache", "lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test", "lint": "yarn lint:code && yarn lint:test",