diff --git a/packages/google-cloud-dns/package.json b/packages/google-cloud-dns/package.json index 0a8ae954720..3ea3d0589af 100644 --- a/packages/google-cloud-dns/package.json +++ b/packages/google-cloud-dns/package.json @@ -74,7 +74,6 @@ "eslint-config-prettier": "^3.0.0", "eslint-plugin-node": "^7.0.0", "eslint-plugin-prettier": "^2.6.0", - "extend": "^3.0.1", "ink-docstrap": "^1.3.2", "intelli-espower-loader": "^1.0.1", "jsdoc": "^3.5.5", diff --git a/packages/google-cloud-dns/system-test/dns.js b/packages/google-cloud-dns/system-test/dns.js index 1fe34818792..f37fef5171f 100644 --- a/packages/google-cloud-dns/system-test/dns.js +++ b/packages/google-cloud-dns/system-test/dns.js @@ -29,8 +29,14 @@ const DNS = require('../'); const dns = new DNS(); const DNS_DOMAIN = process.env.GCLOUD_TESTS_DNS_DOMAIN; +if (!DNS_DOMAIN) { + assert.fail( + `The 'GCLOUD_TESTS_DNS_DOMAIN' environment variable must be set to run the system tests.` + ); +} + // Only run the tests if there is a domain to test with. -(DNS_DOMAIN ? describe : describe.skip)('dns', function() { +describe('dns', function() { if (!DNS_DOMAIN) { // The test runner still executes this function, even if it is skipped. return;