Skip to content

Commit

Permalink
chore: self mutation
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions <[email protected]>
  • Loading branch information
github-actions committed Oct 9, 2024
1 parent 3376c89 commit 2635360
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/files.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@ test('fails when cross account is required but not allowed', async () => {
return { promise: () => Promise.resolve() };
});

await expect(pub.publish({ allowCrossAccount: false })).rejects.toThrow('❗❗ UNEXPECTED BUCKET OWNER DETECTED ❗❗');
await expect(pub.publish({ allowCrossAccount: false })).rejects.toThrow(
'❗❗ UNEXPECTED BUCKET OWNER DETECTED ❗❗'
);
});

test('succeeds when bucket doesnt belong to us but doesnt contain account id - cross account', async () => {
Expand Down

0 comments on commit 2635360

Please sign in to comment.