Skip to content

Commit

Permalink
Deep require of uuidv4 is deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
blueimp committed Mar 24, 2020
1 parent c18110e commit 7ae614c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const cmds = require('wdio-screen-commands')
const config = {
before: async () => {
global.Should = require('chai').should()
global.uuidv4 = require('uuid/v4')
global.uuidv4 = require('uuid').v4
const mailhog = require('mailhog')(browser.config.mailhog)
browser.addCommand('getMail', mailhog.messages)
browser.addCommand('searchMail', mailhog.search)
Expand Down

0 comments on commit 7ae614c

Please sign in to comment.