fix(#535): eliminate vi.mock(pdfjs-dist) birpc teardown race via libLoader injection #536
@@ -24,7 +24,6 @@ function makeFakePdfjsLib() {
|
|||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
TextLayer: TextLayerMock
|
TextLayer: TextLayerMock
|
||||||
// Partial fake: only the methods used by usePdfRenderer are implemented
|
|
||||||
} as unknown as typeof import('pdfjs-dist');
|
} as unknown as typeof import('pdfjs-dist');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user