From ed17d3822965c93b76143f44025af86aa87c8727 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 13 Sep 2026 14:37:02 +0200 Subject: [PATCH] test: the boundary stores the owner id as a string; compare it as one Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU --- test/account-boundary.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());