-const assert = require('assert');
+import assert from 'assert';
describe('Status Page', function () {
let page;
});
it('should have software version', async function () {
- let status_details = await page.$eval('body',
- el => el.textContent.match(/Software version.*\d+\.\d+/));
+ let status_details = await page.$eval(
+ 'body',
+ el => el.textContent.match(/Software version.*\d+\.\d+/)
+ );
assert.ok(!status_details[0].includes('undefined'));
});