mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:25:15 +00:00
fix: using jest-dom instead of vitest-dom
This commit is contained in:
parent
a38e34cf9a
commit
672d1d9a45
@ -46,6 +46,7 @@
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@testing-library/react-hooks": "^8.0.1",
|
||||
"@testing-library/user-event": "^14.4.3",
|
||||
"@testing-library/jest-dom": "^6.4.2",
|
||||
"@types/supertest": "^2.0.11",
|
||||
"@vitejs/plugin-react": "^4.0.0",
|
||||
"jsdom": "^16.0.0",
|
||||
@ -59,7 +60,6 @@
|
||||
"supertest": "^6.1.6",
|
||||
"vite": "^5.0.0",
|
||||
"vitest": "^1.4.0",
|
||||
"vitest-dom": "^0.1.1",
|
||||
"ws": "^8.13.0"
|
||||
},
|
||||
"gitHead": "d0b4efe4be55f8c79a98a331d99d9f8cf99021a1"
|
||||
|
@ -1,7 +1,7 @@
|
||||
import '@testing-library/jest-dom/vitest';
|
||||
import { configure } from '@testing-library/react';
|
||||
import dotenv from 'dotenv';
|
||||
import { vi } from 'vitest';
|
||||
import 'vitest-dom/extend-expect';
|
||||
|
||||
/**
|
||||
* 解决 TypeError: URL.createObjectURL is not a function
|
||||
|
Loading…
Reference in New Issue
Block a user