Skip to content

Commit

Permalink
Vision snippets. (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored and Ace Nassri committed Nov 21, 2022
1 parent 7b6033f commit fc6bec8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compute/system-test/vms.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require(`../../system-test/_setup`);
const vmsExample = require(`../vms`);

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test.cb(`should retrieve vms`, (t) => {
vmsExample.main((err, result) => {
Expand Down
2 changes: 1 addition & 1 deletion compute/system-test/vms_api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require(`../../system-test/_setup`);
const vmsExample = require(`../vms_api`);

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test.cb('should retrieve vms', (t) => {
vmsExample.main((err, result) => {
Expand Down
2 changes: 1 addition & 1 deletion compute/test/mailjet.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ process.env.MAILJET_API_KEY = `foo`;
process.env.MAILJET_API_SECRET = `bar`;

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test.cb(`should send an email`, (t) => {
proxyquire(`../mailjet`, {
Expand Down
2 changes: 1 addition & 1 deletion compute/test/sendgrid.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const proxyquire = require(`proxyquire`).noPreserveCache();
process.env.SENDGRID_API_KEY = `foo`;

test.beforeEach(stubConsole);
test.afterEach(restoreConsole);
test.afterEach.always(restoreConsole);

test.cb(`should send an email`, (t) => {
proxyquire(`../sendgrid`, {
Expand Down

0 comments on commit fc6bec8

Please sign in to comment.