Skip to content

Commit 28ffb96

Browse files
committed
chore: jest.fn().mockReturnValue(null) -> jest.fn()
1 parent 7b2459f commit 28ffb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/credential-provider-cognito-identity/src/fromCognitoIdentityPool.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jest.mock("./localStorage", () => {
1818
return {
1919
localStorage() {
2020
return {
21-
getItem: jest.fn().mockReturnValue(null),
21+
getItem: jest.fn(),
2222
setItem: jest.fn(),
2323
removeItem: jest.fn()
2424
};

0 commit comments

Comments
 (0)