Skip to content

Commit 288e6cc

Browse files
thymikeeclaude
andcommitted
test(apple): wait for detached bridge evidence contents
File creation precedes the shell write, so poll the expected cwd evidence rather than file existence. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 7e2cae2 commit 288e6cc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎packages/platform-apple/src/snapshot-source/host.test.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ test('the detached bridge starts in the host directory, not the process director
113113
},
114114
);
115115

116-
await vi.waitFor(() => assert.equal(fs.existsSync(evidence), true));
117-
assert.equal(fs.readFileSync(evidence, 'utf8'), `${fs.realpathSync(hostCwd)}\n`);
116+
await vi.waitFor(() =>
117+
assert.equal(fs.readFileSync(evidence, 'utf8'), `${fs.realpathSync(hostCwd)}\n`),
118+
);
118119
});

0 commit comments

Comments
 (0)