Skip to content

Commit 9940fd0

Browse files
authored
Bump almost all the deps (#1790)
bump almost all the deps
1 parent d07ca14 commit 9940fd0

File tree

3 files changed

+2062
-1468
lines changed

3 files changed

+2062
-1468
lines changed

app/test/unit/setup.ts

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,14 @@
1010
* This file is ran by vitest before any tests are ran. Configuration
1111
* in this file does _not_ impact end-to-end tests.
1212
*/
13-
import matchers, { type TestingLibraryMatchers } from '@testing-library/jest-dom/matchers'
13+
import '@testing-library/jest-dom/vitest'
1414
import { cleanup } from '@testing-library/react'
15-
import { afterAll, afterEach, beforeAll, expect } from 'vitest'
15+
import { afterAll, afterEach, beforeAll } from 'vitest'
1616

1717
import { resetDb } from '@oxide/api-mocks'
1818

1919
import { server } from './server'
2020

21-
// fancy asserts
22-
expect.extend(matchers)
23-
24-
// make TS not be confused by the jest matchers being on the vitest expect
25-
declare module 'vitest' {
26-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
27-
interface JestAssertion<T = any>
28-
extends jest.Matchers<void, T>,
29-
TestingLibraryMatchers<T, void> {}
30-
}
31-
3221
beforeAll(() => server.listen())
3322
afterEach(() => {
3423
resetDb()

0 commit comments

Comments
 (0)