mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
build: upgrade vite to 5.4.x, vitest to 2.x and related vite packages (#8459)
* build: upgrade vite to 5.x, vitest to 2.x and related vite packages * upgrade vitest-ui and coverage * pass empty set to fix type error and update snap * set ignoreEmptyLines to false * update threshold * update coverage threshold * downgrade vite-plugin-pwa as its better to push separately with testing * add package resolutions for strip-ansi, string-width and wrap-ansi * disable pwa * only add resolution for strip-ansi
This commit is contained in:
parent
21fff26d31
commit
51ea184938
6 changed files with 893 additions and 388 deletions
|
@ -76,7 +76,7 @@ vi.mock(
|
|||
const url = this.urls[0];
|
||||
|
||||
if (url.protocol !== "file:") {
|
||||
return super.getContent();
|
||||
return super.getContent(new Set());
|
||||
}
|
||||
|
||||
// read local assets directly, without running a server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue