Files: ed26f7c5c655a65d700ecac4cddac76d22aad40a / features / support / world.js
290 bytesRaw
1 | const Browser = require('zombie') |
2 | |
3 | const config = require('app/config') |
4 | |
5 | Browser.localhost('localhost', config.proxy.port) |
6 | |
7 | function World () { |
8 | // this.browser will be available in step definitions |
9 | this.browser = new Browser() |
10 | } |
11 | |
12 | module.exports = function () { |
13 | this.World = World |
14 | } |
15 |
Built with git-ssb-web