X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/a4d91ff557a71d80f997b03b213acf1664e64ace..dbcfea8d6f79d07de57e153bc28a4c3afb6e8448:/test/browser.js?ds=sidebyside 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' + ); }); });