diff --git a/packages/google-cloud-translate/.mocharc.json b/packages/google-cloud-translate/.mocharc.json new file mode 100644 index 00000000000..670c5e2c24b --- /dev/null +++ b/packages/google-cloud-translate/.mocharc.json @@ -0,0 +1,5 @@ +{ + "enable-source-maps": true, + "throw-deprecation": true, + "timeout": 10000 +} diff --git a/packages/google-cloud-translate/package.json b/packages/google-cloud-translate/package.json index c8c4380e5fe..820ff40120c 100644 --- a/packages/google-cloud-translate/package.json +++ b/packages/google-cloud-translate/package.json @@ -68,17 +68,14 @@ "google-auth-library": "^5.7.0", "gts": "^1.0.0", "http2spy": "^1.1.0", - "intelli-espower-loader": "^1.0.1", "jsdoc": "^3.6.2", "jsdoc-fresh": "^1.0.1", "jsdoc-region-tag": "^1.0.2", "linkinator": "^1.5.0", "mocha": "^7.0.0", "pack-n-play": "^1.0.0-2", - "power-assert": "^1.6.0", - "prettier": "^1.13.5", + "prettier": "^1.13.5", "proxyquire": "^2.0.1", - "source-map-support": "^0.5.6", "typescript": "3.6.4" } } diff --git a/packages/google-cloud-translate/test/mocha.opts b/packages/google-cloud-translate/test/mocha.opts deleted file mode 100644 index 48bf1c3df18..00000000000 --- a/packages/google-cloud-translate/test/mocha.opts +++ /dev/null @@ -1,4 +0,0 @@ ---require source-map-support/register ---require intelli-espower-loader ---timeout 10000 ---throw-deprecation