Skip to content

Commit

Permalink
wats: fix imports
Browse files Browse the repository at this point in the history
Signed-off-by: Bohan Chen <bochen@pivotal.io>
  • Loading branch information
chenbh committed Mar 23, 2021
1 parent 3b5a825 commit d18009e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/wats/helpers/fly.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const { exec, spawn } = require('child-process-promise');
const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');
const tmp = require('tmp-promise');

class Fly {
Expand Down
2 changes: 1 addition & 1 deletion web/wats/helpers/suite.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Fly = require('./fly');
const Web = require('./web');
const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');

// silence warning caused by starting many puppeteer
process.setMaxListeners(Infinity);
Expand Down
2 changes: 1 addition & 1 deletion web/wats/helpers/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const puppeteer = require('puppeteer');
const { exec } = require('child-process-promise');
const uuidv4 = require('uuid/v4');
const { v4: uuidv4 } = require('uuid');

class Web {
constructor(url, username, password) {
Expand Down

0 comments on commit d18009e

Please sign in to comment.