diff --git a/test/account-boundary.test.js b/test/account-boundary.test.js index 8fd3fe26..44df7f67 100644 --- a/test/account-boundary.test.js +++ b/test/account-boundary.test.js @@ -1131,7 +1131,7 @@ test('the same person signing in again in another tab is adopted, not reloaded', b.storageMessage({ ...shared, generation: 'another-tab-same-person' }); assert.equal(b.c.AccountBoundary.blocked(), false, 'not frozen'); assert.equal(b.reloads(), 0, 'not reloaded'); - assert.equal(b.c.AccountBoundary.capture(), 1, 'still working as the same owner'); + assert.equal(String(b.c.AccountBoundary.capture()), '1', 'still working as the same owner'); b.storageMessage({ ...shared, owner: 2, generation: 'another-tab-other-person' }); assert.equal(b.c.AccountBoundary.blocked(), true, 'a different account still freezes this tab'); assert.ok(b.reloads());