UNPKG

@nightwatch/angular

Version:

Component testing plugin that integrates Angular with Nightwatch.js

22 lines (18 loc) 433 B
const setup = require('../src/setup.js'); const teardown = require('../src/teardown.js'); module.exports = { async beforeChildProcess(settings) { await setup(settings); }, async before(settings) { if (settings && !settings.parallel_mode && !settings.testWorkersEnabled) { await setup(settings); } }, async after() { await teardown(); }, async afterChildProcess() { await teardown(); } };