From cc1d72b9e916613573dbe6f95c94d4bb9e31ae08 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Tue, 4 Feb 2020 10:51:27 -0800 Subject: [PATCH] test: modernize mocha config (#516) --- packages/google-cloud-node/.mocharc.json | 5 +++++ packages/google-cloud-node/package.json | 2 -- packages/google-cloud-node/test/mocha.opts | 3 --- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 packages/google-cloud-node/.mocharc.json delete mode 100644 packages/google-cloud-node/test/mocha.opts diff --git a/packages/google-cloud-node/.mocharc.json b/packages/google-cloud-node/.mocharc.json new file mode 100644 index 000000000000..670c5e2c24b7 --- /dev/null +++ b/packages/google-cloud-node/.mocharc.json @@ -0,0 +1,5 @@ +{ + "enable-source-maps": true, + "throw-deprecation": true, + "timeout": 10000 +} diff --git a/packages/google-cloud-node/package.json b/packages/google-cloud-node/package.json index 3b56ea8f709b..43f8cd8b994b 100644 --- a/packages/google-cloud-node/package.json +++ b/packages/google-cloud-node/package.json @@ -60,7 +60,6 @@ "eslint-plugin-node": "^11.0.0", "eslint-plugin-prettier": "^3.0.0", "gts": "^1.1.2", - "intelli-espower-loader": "^1.0.1", "jsdoc": "^3.5.5", "jsdoc-fresh": "^1.0.1", "jsdoc-region-tag": "^1.0.2", @@ -68,7 +67,6 @@ "mocha": "^7.0.0", "null-loader": "^3.0.0", "pack-n-play": "^1.0.0-2", - "power-assert": "^1.6.0", "prettier": "^1.13.5", "sinon": "^8.0.0", "ts-loader": "^6.2.1", diff --git a/packages/google-cloud-node/test/mocha.opts b/packages/google-cloud-node/test/mocha.opts deleted file mode 100644 index 8751e7bae37f..000000000000 --- a/packages/google-cloud-node/test/mocha.opts +++ /dev/null @@ -1,3 +0,0 @@ ---require intelli-espower-loader ---timeout 10000 ---throw-deprecation