Skip to content

Commit

Permalink
test: Update MockCookies to include remove function
Browse files Browse the repository at this point in the history
  • Loading branch information
julianajlk committed Nov 18, 2024
1 parent 991eea7 commit 5fa5654
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/payment/PaymentPage.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jest.mock('universal-cookie', () => {
set(cookieName) {
return MockCookies.result[cookieName];
}

remove() {
return undefined;
}
}
return MockCookies;
});
Expand Down

0 comments on commit 5fa5654

Please sign in to comment.