Skip to content

Commit 6c5ae36

Browse files
committed
test(permission): scope migration warning capture to fixture roots
1 parent ef8abed commit 6c5ae36

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/permission/approval-store-migration.test.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ describe("migratePersistedApprovalStores", () => {
323323
.filter(
324324
(line) =>
325325
line.includes("Skipped approval-store migration") &&
326-
line.includes(sessionStorePath()) &&
327-
line.includes(projectStorePath()),
326+
(line.includes(cwd) || line.includes(home)),
328327
);
329328
// One summary warn for the whole migration, not one per failing store.
330329
expect(lines).toHaveLength(1);

0 commit comments

Comments
 (0)