X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/502749ba0bdd92a4c0c2cec23a0f27155f873036..958a324b6fd42d1a30424ddba8c3662d973c85cb:/test/status.js diff --git a/test/status.js b/test/status.js index b9fcea7..78dc020 100644 --- a/test/status.js +++ b/test/status.js @@ -1,4 +1,4 @@ -const assert = require('assert'); +import assert from 'assert'; describe('Status Page', function () { let page; @@ -13,8 +13,10 @@ describe('Status Page', function () { }); 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')); });