Skip to content

Commit bad23d1

Browse files
jmdobryAce Nassri
authored andcommitted
Vision snippets. (#294)
1 parent 1dbde86 commit bad23d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

monitoring/snippets/system-test/create_custom_metric.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function getPointValue (timeSeries) {
2323
}
2424

2525
test.before(stubConsole);
26-
test.after(restoreConsole);
26+
test.after.always(restoreConsole);
2727

2828
test.cb('should create and read back a custom metric', (t) => {
2929
customMetricsExample.main(

monitoring/snippets/system-test/list_resources.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require(`../../system-test/_setup`);
1818
const listResourcesExample = require(`../list_resources`);
1919

2020
test.before(stubConsole);
21-
test.after(restoreConsole);
21+
test.after.always(restoreConsole);
2222

2323
test.cb(`should list a bunch of stuff`, (t) => {
2424
listResourcesExample.main(process.env.GCLOUD_PROJECT, (err, results) => {

0 commit comments

Comments
 (0)