Files: 1b7c7d57f50b34a8ccc9fc21cba748f9f5055b46 / features / support / world.js
310 bytesRaw
1 | const Browser = require('zombie') |
2 | |
3 | const config = require('app/config') |
4 | |
5 | Browser.localhost(config.render.url.hostname, config.render.url.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