Created
June 18, 2018 07:29
-
-
Save paulbjensen/10c433ac1c54e8cb233ebcf5760a2610 to your computer and use it in GitHub Desktop.
The world.js file for a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dependencies | |
const { setWorldConstructor } = require('cucumber'); | |
const puppeteer = require('puppeteer'); | |
const scope = require('./support/scope'); | |
const World = function() { | |
scope.driver = puppeteer; | |
}; | |
setWorldConstructor(World); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment