Improve code based on linting

This commit is contained in:
2026-02-10 19:20:38 +04:00
parent 32dfa3a30f
commit 39a7ec3595
2 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ module('Acceptance | navigation', function (hooks) {
// Click the Close (X) button
await click('.close-btn');
await settled();
assert.strictEqual(currentURL(), '/', 'Returned to index');
assert.false(mapUi.returnToSearch, 'Flag is reset after closing sidebar');
@@ -95,7 +95,7 @@ module('Acceptance | navigation', function (hooks) {
assert.ok(currentURL().includes('/place/'), 'Visited place directly');
await click('.back-btn');
await settled();
assert.strictEqual(currentURL(), '/', 'Returned to index/map');
assert.true(backStub.notCalled, 'window.history.back() was NOT called');