Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
rene84 committed Nov 17, 2023
1 parent 73c45b2 commit 55708c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit-tests/commands/init-organization.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ describe('when executing init organization command', () => {
});

test('if bucket already exists process continues', async () => {
storageProviderCreateStub.throws({ code: 'BucketAlreadyOwnedByYou'});
storageProviderCreateStub.throws({ name: 'BucketAlreadyOwnedByYou'});

await command.performCommand(commandArgs);
expect(writeFileSyncStub.callCount).toBe(1);
Expand Down

0 comments on commit 55708c1

Please sign in to comment.