mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 00:28:33 +00:00
chore: disable rules in oxlint (#9154)
This commit is contained in:
@@ -24,7 +24,7 @@ vi.mock('@blocksuite/affine/presets', () => ({
|
||||
}));
|
||||
|
||||
if (typeof window !== 'undefined' && HTMLCanvasElement) {
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error allow vitest global mock
|
||||
HTMLCanvasElement.prototype.getContext = () => {
|
||||
return {
|
||||
fillRect: vi.fn(),
|
||||
|
||||
Reference in New Issue
Block a user