diff --git a/translate/system-test/quickstart.test.js b/translate/system-test/quickstart.test.js index f056c2a2864..6c517dabf9c 100644 --- a/translate/system-test/quickstart.test.js +++ b/translate/system-test/quickstart.test.js @@ -21,7 +21,7 @@ const proxyquire = require(`proxyquire`).noPreserveCache(); const translate = proxyquire(`@google-cloud/translate`, {})(); test.before(stubConsole); -test.after(restoreConsole); +test.after.always(restoreConsole); test.cb(`should translate a string`, (t) => { const string = `Hello, world!`;