Skip to content

Commit 4873984

Browse files
authored
fix: externalize expect/src/utils from vitest (#9616)
1 parent 3425e28 commit 4873984

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/expect/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ export { addCustomEqualityTesters } from './jest-matcher-utils'
2424
export * from './jest-utils'
2525
export { getState, setState } from './state'
2626
export * from './types'
27+
export * from './utils'
2728
export * as chai from 'chai'

packages/vitest/src/integrations/snapshot/chai.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import type { Assertion, ChaiPlugin } from '@vitest/expect'
22
import type { Test } from '@vitest/runner'
3-
import { equals, iterableEquality, subsetEquality } from '@vitest/expect'
3+
import { createAssertionMessage, equals, iterableEquality, recordAsyncExpect, subsetEquality, wrapAssertion } from '@vitest/expect'
44
import { getNames } from '@vitest/runner/utils'
55
import {
66
addSerializer,
77
SnapshotClient,
88
stripSnapshotIndentation,
99
} from '@vitest/snapshot'
10-
import { createAssertionMessage, recordAsyncExpect, wrapAssertion } from '../../../../expect/src/utils'
1110

1211
let _client: SnapshotClient
1312

0 commit comments

Comments
 (0)