Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Sep 20, 2024
1 parent b110897 commit b1806a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class FetchMock {
public add(url: string, content: string) {
this.urls.set(url, content);
}
constructor () {
constructor() {
window.fetch = jest.fn().mockImplementation(async (url: string) => {
const content = this.urls.get(url);
if (!content) {
Expand Down

0 comments on commit b1806a6

Please sign in to comment.