From aee158838945796d3e3e7892b3c776dca6b9f9d3 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 30 Dec 2019 11:15:24 -0800 Subject: [PATCH] refactor: use explicit mocha imports (#332) --- packages/google-cloud-dns/system-test/dns.ts | 1 + packages/google-cloud-dns/test/change.ts | 1 + packages/google-cloud-dns/test/index.ts | 1 + packages/google-cloud-dns/test/record.ts | 1 + packages/google-cloud-dns/test/zone.ts | 1 + 5 files changed, 5 insertions(+) diff --git a/packages/google-cloud-dns/system-test/dns.ts b/packages/google-cloud-dns/system-test/dns.ts index 35922ac7eba..1e049027da2 100644 --- a/packages/google-cloud-dns/system-test/dns.ts +++ b/packages/google-cloud-dns/system-test/dns.ts @@ -13,6 +13,7 @@ // limitations under the License. import * as assert from 'assert'; +import {describe, it} from 'mocha'; import * as fs from 'fs'; import * as tmp from 'tmp'; import * as util from 'util'; diff --git a/packages/google-cloud-dns/test/change.ts b/packages/google-cloud-dns/test/change.ts index 1e01c77c7ff..88a3e509fef 100644 --- a/packages/google-cloud-dns/test/change.ts +++ b/packages/google-cloud-dns/test/change.ts @@ -19,6 +19,7 @@ import { } from '@google-cloud/common'; import * as promisify from '@google-cloud/promisify'; import * as assert from 'assert'; +import {describe, it} from 'mocha'; import * as proxyquire from 'proxyquire'; import {Change} from '../src/change'; diff --git a/packages/google-cloud-dns/test/index.ts b/packages/google-cloud-dns/test/index.ts index 992f3dace44..174674a5bdb 100644 --- a/packages/google-cloud-dns/test/index.ts +++ b/packages/google-cloud-dns/test/index.ts @@ -21,6 +21,7 @@ import { import * as promisify from '@google-cloud/promisify'; import arrify = require('arrify'); import * as assert from 'assert'; +import {describe, it} from 'mocha'; import * as proxyquire from 'proxyquire'; import {CoreOptions, OptionsWithUri, Response} from 'request'; diff --git a/packages/google-cloud-dns/test/record.ts b/packages/google-cloud-dns/test/record.ts index 422d6520562..790807f2e9d 100644 --- a/packages/google-cloud-dns/test/record.ts +++ b/packages/google-cloud-dns/test/record.ts @@ -14,6 +14,7 @@ import * as promisify from '@google-cloud/promisify'; import * as assert from 'assert'; +import {describe, it} from 'mocha'; import * as proxyquire from 'proxyquire'; import {Record} from '../src'; diff --git a/packages/google-cloud-dns/test/zone.ts b/packages/google-cloud-dns/test/zone.ts index 71614639758..585844fe442 100644 --- a/packages/google-cloud-dns/test/zone.ts +++ b/packages/google-cloud-dns/test/zone.ts @@ -16,6 +16,7 @@ import {ServiceObject, ServiceObjectConfig} from '@google-cloud/common'; import * as promisify from '@google-cloud/promisify'; import arrify = require('arrify'); import * as assert from 'assert'; +import {describe, it} from 'mocha'; import * as proxyquire from 'proxyquire'; import {CoreOptions, OptionsWithUri, Response} from 'request'; import * as uuid from 'uuid';