Skip to content

Commit

Permalink
fix half the TS lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jun 20, 2024
1 parent 8ad5a1b commit 930d8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/chat/tests/spam.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test('self report', () => {
},
});

const spy = vi.spyOn(xhr, 'text').mockImplementation((url: string, init?: RequestInit) => {
const spy = vi.spyOn(xhr, 'text').mockImplementation((url: string) => {
expect(url).toBe('/jslog/abcdef123456?n=spam');
return Promise.resolve('ok');
});
Expand Down

0 comments on commit 930d8b8

Please sign in to comment.