Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative custom reporter to mocha-multi #7931

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions common/tools/eslint-plugin-azure-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
"lint": "eslint src tests --ext .ts",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean",
"unit-test": "mocha --require source-map-support/register --timeout 10000 --full-trace --recursive dist/tests",
"unit-test:node": "mocha --require source-map-support/register --timeout 10000 --full-trace --recursive dist/tests",
"unit-test:browser": "echo skipped",
"unit-test": "unit-test:node && unit-test:browser",
"test": "npm run clean && npm run build:test && npm run unit-test"
},
"engines": {
Expand Down Expand Up @@ -83,7 +85,6 @@
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
"source-map-support": "^0.5.9",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3"
"mocha-junit-reporter": "^1.18.0"
}
}
29 changes: 29 additions & 0 deletions common/tools/mocha-multi-reporter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
"use strict";

const Mocha = require("mocha");
const MochaJUnitReporter = require("mocha-junit-reporter");
Copy link
Member Author

@HarshaNalluru HarshaNalluru Mar 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing to note here is that the mocha-multi-reporter.js file is not part of any project/utilities, it is an independent file and doesn't have a package.json of its own.
Placed here(under common/tools/ folder) only so that all the SDKs can leverage.

SDKs are expected to import mocha and mocha-junit-reporter as devDependencies and then use this .js file as the reporter in the mocha test command in package.json.


/**
* Usage :
* - Meant to be used to leverage Mocha's Spec reporter as well as mocha-junit-reporter for the test runs
* - Provide the relative path to this file from your `sdk/service/package-folder/` as the reporter options to mocha
* - Example - `--reporter ../../../common/tools/mocha-multi-reporter.js`
*
* Refer the following docs for more customizations on reporters
* https://mochajs.org/api/tutorial-custom-reporter.html
*
* @class MultiReporter
*/
class MultiReporter {
constructor(runner) {
// Spec reporter is provided as part of mocha library
// Invoking the spec reporter with the runner
new Mocha.reporters.Spec(runner);
// Invoking mocha-junit-reporter to generate XML reports of test summaries for CI
new MochaJUnitReporter(runner);
}
}

module.exports = MultiReporter;
5 changes: 2 additions & 3 deletions sdk/appconfiguration/app-configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"build:samples": "node ../../../common/scripts/prep-samples.js && cd samples && tsc",
"check-format": "prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist dist-esm test-dist types *.tgz *.log",
"coverage": "nyc --reporter=lcov --exclude-after-remap=false mocha -t 120000 test-dist/index.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-",
"coverage": "nyc --reporter=lcov --exclude-after-remap=false mocha -t 120000 test-dist/index.js --reporter ../../../common/tools/mocha-multi-reporter.js",
"execute:samples": "npm run build:samples && echo Skipped.",
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
Expand All @@ -52,7 +52,7 @@
"prebuild": "npm run clean",
"pack": "npm pack 2>&1",
"swagger": "autorest --typescript swagger/swagger.md",
"test": "npm run build:test && mocha -t 1200000 test-dist/index.node.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-",
"test": "npm run build:test && mocha -t 1200000 test-dist/index.node.js --reporter ../../../common/tools/mocha-multi-reporter.js",
"unit-test:browser": "echo skipped",
"unit-test:node": "npm run test",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
Expand Down Expand Up @@ -99,7 +99,6 @@
"eslint-plugin-promise": "^4.1.1",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"nock": "^11.7.0",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
Expand Down
3 changes: 1 addition & 2 deletions sdk/core/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "karma start --single-run",
"unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" mocha --require ts-node/register --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --full-trace --no-timeouts test/*.spec.ts",
"unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" mocha --require ts-node/register --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --full-trace --no-timeouts test/*.spec.ts",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"types": "./types/src/aborter.d.ts",
Expand Down Expand Up @@ -97,7 +97,6 @@
"karma-remap-istanbul": "^0.6.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
Expand Down
3 changes: 1 addition & 2 deletions sdk/core/core-amqp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "karma start --single-run",
"unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- ./test/**/*.spec.ts",
"unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 --reporter ../../../common/tools/mocha-multi-reporter.js ./test/**/*.spec.ts",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-amqp",
Expand Down Expand Up @@ -107,7 +107,6 @@
"karma-mocha": "^1.3.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
"puppeteer": "^2.0.0",
Expand Down
1 change: 0 additions & 1 deletion sdk/core/core-arm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
"eslint-plugin-promise": "^4.1.1",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"npm-run-all": "^4.1.5",
"nyc": "^14.0.0",
"rimraf": "^3.0.0",
Expand Down
3 changes: 1 addition & 2 deletions sdk/core/core-arm/test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
--require ts-node/register
--timeout 50000
--reporter mocha-multi
--reporter-options spec=-,mocha-junit-reporter=-
--reporter ../../../common/tools/mocha-multi-reporter.js
Copy link
Member Author

@HarshaNalluru HarshaNalluru Mar 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core-arm and core-http packages have mocha.opts file.
TO DO - Remove the mocha.opts file and update test scripts accordingly to stay consistent with the other packages in this repo.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logged #7933

--colors
test/**/*.ts
3 changes: 1 addition & 2 deletions sdk/core/core-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "echo skipped",
"unit-test:node": "mocha test-dist/**/*.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-",
"unit-test:node": "mocha test-dist/**/*.js --reporter ../../../common/tools/mocha-multi-reporter.js",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"files": [
Expand Down Expand Up @@ -82,7 +82,6 @@
"inherits": "^2.0.3",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
"rollup": "^1.16.3",
Expand Down
1 change: 0 additions & 1 deletion sdk/core/core-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@
"mocha": "^6.2.2",
"mocha-chrome": "^2.0.0",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"npm-run-all": "^4.1.5",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
Expand Down
3 changes: 1 addition & 2 deletions sdk/core/core-http/test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
--require ts-node/register
--timeout 50000
--reporter mocha-multi
--reporter-options spec=-,mocha-junit-reporter=-
--reporter ../../../common/tools/mocha-multi-reporter.js
--colors
--exclude test/**/*.browser.ts
test/**/*.ts
3 changes: 1 addition & 2 deletions sdk/core/core-lro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"test": "npm run build:test && npm run unit-test",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "npm run build:test && karma start --single-run",
"unit-test:node": "npm run build:test && nyc mocha --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --timeout 1200000 --full-trace dist-test/index.node.js",
"unit-test:node": "npm run build:test && nyc mocha --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace dist-test/index.node.js",
"pack": "npm pack 2>&1",
"prebuild": "npm run clean"
},
Expand Down Expand Up @@ -133,7 +133,6 @@
"karma-remap-istanbul": "^0.6.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"npm-run-all": "^4.1.5",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
Expand Down
3 changes: 1 addition & 2 deletions sdk/core/core-tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "echo skipped",
"unit-test:node": "mocha test-dist/**/*.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-",
"unit-test:node": "mocha test-dist/**/*.js --reporter ../../../common/tools/mocha-multi-reporter.js",
Copy link
Member Author

@HarshaNalluru HarshaNalluru Mar 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The --reporter options are exactly same for all the SDKs.
  • For local runs - we only need spec reporter and not junit-reporter.
  • spec reporter is the default reporter when we don't specify a reporter.
  • Both junit-reporter and spec reporter are required in the CI.

One proposal to refactor is to move the reporter options to the rush-yaml scripts where we trigger the test scripts instead of package.jsons if possible.
@KarishmaGhiya is checking if rush and our configs allow this. Logged followup #7934

"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"files": [
Expand Down Expand Up @@ -84,7 +84,6 @@
"inherits": "^2.0.3",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
"rollup": "^1.16.3",
Expand Down
3 changes: 1 addition & 2 deletions sdk/core/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "karma start --single-run",
"unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" mocha --require ts-node/register --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --full-trace --no-timeouts test/*.spec.ts",
"unit-test:node": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" mocha --require ts-node/register --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --full-trace --no-timeouts test/*.spec.ts",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"types": "./types/logger.d.ts",
Expand Down Expand Up @@ -105,7 +105,6 @@
"karma-remap-istanbul": "^0.6.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
"puppeteer": "^2.0.0",
Expand Down
3 changes: 1 addition & 2 deletions sdk/cosmosdb/cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"extract-api": "npm run build:src && api-extractor run --local",
"format": "prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "echo skipped",
"integration-test:node": "mocha -r esm -r dotenv/config -r ./test/common/setup.js \"./test/**/*.spec.js\" --timeout 100000 --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-",
"integration-test:node": "mocha -r esm -r dotenv/config -r ./test/common/setup.js \"./test/**/*.spec.js\" --timeout 100000 --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint package.json tsconfig.json src test samples --ext .ts --fix",
"lint": "eslint package.json tsconfig.json src test samples --ext .ts -f html -o cosmos-lintReport.html || exit 0",
Expand Down Expand Up @@ -122,7 +122,6 @@
"execa": "^3.3.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"prettier": "^1.16.4",
"proxy-agent": "^3.1.1",
"requirejs": "^2.3.5",
Expand Down
4 changes: 1 addition & 3 deletions sdk/eventhub/event-hubs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "karma start --single-run",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --timeout 1200000 --full-trace dist-esm/test/*.spec.js",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace dist-esm/test/*.spec.js",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint package.json tsconfig.json src test samples --ext .ts --fix",
"lint": "eslint package.json tsconfig.json src test samples --ext .ts -f html -o event-hubs-lintReport.html || exit 0",
Expand Down Expand Up @@ -135,7 +135,6 @@
"karma-remap-istanbul": "^0.6.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
"puppeteer": "^2.0.0",
Expand All @@ -145,7 +144,6 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.1",
"sinon": "^7.1.0",
"ts-mocha": "^6.0.0",
"ts-node": "^8.3.0",
"typescript": "~3.7.5",
"ws": "^7.1.1"
Expand Down
3 changes: 1 addition & 2 deletions sdk/eventhub/event-processor-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "echo skipped",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --timeout 1200000 --full-trace dist-esm/test/*.spec.js",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace dist-esm/test/*.spec.js",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint package.json tsconfig.json src test samples --ext .ts --fix",
"lint": "eslint package.json tsconfig.json src test samples --ext .ts -f html -o event-processor-host-lintReport.html || exit 0",
Expand Down Expand Up @@ -108,7 +108,6 @@
"https-proxy-agent": "^3.0.1",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
Expand Down
3 changes: 1 addition & 2 deletions sdk/eventhub/eventhubs-checkpointstore-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "echo skipped",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --timeout 1200000 --full-trace dist-esm/test/*.spec.js",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace dist-esm/test/*.spec.js",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint -c ../../.eslintrc.old.json src test --ext .ts --fix",
"lint": "eslint -c ../../.eslintrc.old.json src test --ext .ts -f html -o event-hubs-lintReport.html || exit 0",
Expand Down Expand Up @@ -109,7 +109,6 @@
"karma-remap-istanbul": "^0.6.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
"rimraf": "^3.0.0",
Expand Down
3 changes: 1 addition & 2 deletions sdk/identity/identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
"test": "npm run build:test && npm run unit-test && npm run integration-test",
"unit-test:browser": "karma start",
"unit-test:node": "mocha test-dist/**/*.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-",
"unit-test:node": "mocha test-dist/**/*.js --reporter ../../../common/tools/mocha-multi-reporter.js",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"files": [
Expand Down Expand Up @@ -115,7 +115,6 @@
"karma-remap-istanbul": "^0.6.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"open": "^7.0.0",
"prettier": "^1.16.4",
"puppeteer": "^2.0.0",
Expand Down
9 changes: 4 additions & 5 deletions sdk/keyvault/keyvault-certificates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"samples/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "karma start --single-run",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --no-timeouts --full-trace dist-esm/test/*.test.js",
"integration-test:node:no-timeout": "nyc mocha -r esm --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --no-timeouts --full-trace dist-esm/test/*.test.js",
"integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --no-timeouts --full-trace dist-esm/test/*.test.js",
"integration-test:node:no-timeout": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --no-timeouts --full-trace dist-esm/test/*.test.js",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"lint:fix": "eslint package.json \"src/**/*.ts\" --fix --fix-type [problem,suggestion]",
"lint": "eslint package.json \"src/**/*.ts\" samples --ext .ts -f html -o keyvault-certificates-lintReport.html",
Expand All @@ -65,8 +65,8 @@
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
"test": "npm run clean && npm run build:test && npm run unit-test",
"unit-test:browser": "karma start --single-run",
"unit-test:node": "mocha --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --no-timeouts --full-trace dist-test/index.node.js",
"unit-test:node:no-timeout": "mocha --require source-map-support/register --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- --no-timeouts --full-trace dist-test/index.node.js",
"unit-test:node": "mocha --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --no-timeouts --full-trace dist-test/index.node.js",
"unit-test:node:no-timeout": "mocha --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --no-timeouts --full-trace dist-test/index.node.js",
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
},
"sideEffects": false,
Expand Down Expand Up @@ -137,7 +137,6 @@
"karma-remap-istanbul": "^0.6.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.1.3",
"nyc": "^14.0.0",
"prettier": "^1.16.4",
"puppeteer": "^2.0.0",
Expand Down
Loading