Skip to content

Commit

Permalink
fix: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
magisystem0408 committed Mar 1, 2024
1 parent d7226b6 commit cccc41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-amplify/src/get_project_root.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void describe('getProjectRoot', () => {
Promise.reject(expectedError)
);

await assert.rejects(() => getProjectRoot(), expectedError);
await assert.rejects(getProjectRoot, expectedError);
assert.equal(fsMkDirSyncMock.mock.callCount(), 1);
assert.equal(
fsMkDirSyncMock.mock.calls[0].arguments[0],
Expand Down

0 comments on commit cccc41e

Please sign in to comment.