mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 09:48:18 -05:00
* chore: convert rendering tests to es6 * chore: fix cjs config usage * chore: fix cjs config usage * chore: fix verify translations * chore: babel and jest es6 * chore: aw cjs * chore: aw cjs * chore: aw cjs * chore: fix path
17 lines
351 B
JavaScript
17 lines
351 B
JavaScript
const puppeteerUtil = require('../utils/puppeteer-util');
|
|
const server = require('./server');
|
|
|
|
if (!process.env.BASE_URL) {
|
|
let s;
|
|
before(async () => {
|
|
s = await server();
|
|
process.env.BASE_URL = s.url;
|
|
puppeteerUtil.addListeners(page);
|
|
});
|
|
|
|
after(async () => {
|
|
await s.close();
|
|
puppeteerUtil.removeListeners(page);
|
|
});
|
|
}
|