X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c0d1fb859fee050373df1fa77d03cb2c1a8cde91..9c4975070c1d72fd10c1dec2038f840df0026b96:/test/browser.js diff --git a/test/browser.js b/test/browser.js index 078cc62..58d53ae 100644 --- a/test/browser.js +++ b/test/browser.js @@ -1,10 +1,12 @@ -const assert = require('assert'); +import assert from 'assert'; describe('Browser behaviour', function () { it('should have a user-agent', async function () { let user_agent = await browser.userAgent(); - assert.strictEqual(user_agent, - 'Nominatim UI test suite Mozilla/5.0 Gecko/20100101 HeadlessChrome/90.0'); + assert.strictEqual( + user_agent, + 'Nominatim UI test suite Mozilla/5.0 Gecko/20100101 HeadlessChrome/90.0' + ); }); });