Skip to content

Commit

Permalink
fix(expect): fix use of deprecated expect/build/jasmineUtils
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/expect-more-jest/package.json
#	yarn.lock
  • Loading branch information
JamieMason committed Jun 4, 2022
1 parent 545dc7d commit 3ebb252
Show file tree
Hide file tree
Showing 5 changed files with 1,484 additions and 1,385 deletions.
4 changes: 2 additions & 2 deletions packages/expect-more-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"Haroen Viaene (https://github.com/Haroenv)"
],
"dependencies": {
"expect": "27.0.6",
"@jest/expect-utils": "28.1.0",
"expect-more": "1.2.0",
"jest-matcher-utils": "27.0.6"
"jest-matcher-utils": "28.1.0"
},
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/expect-more-jest/src/to-be-array-of.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isArray } from 'expect-more';
import { equals } from 'expect/build/jasmineUtils';
import { equals } from '@jest/expect-utils';
import { printExpected, printReceived } from 'jest-matcher-utils';
import { createResult } from './lib/create-result';

Expand Down
2 changes: 1 addition & 1 deletion packages/expect-more-jest/src/to-be-nullable-of.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isNull } from 'expect-more';
import { equals } from 'expect/build/jasmineUtils';
import { equals } from '@jest/expect-utils';
import { printExpected, printReceived } from 'jest-matcher-utils';
import { createResult } from './lib/create-result';

Expand Down
2 changes: 1 addition & 1 deletion packages/expect-more-jest/src/to-be-optional-of.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isUndefined } from 'expect-more';
import { equals } from 'expect/build/jasmineUtils';
import { equals } from '@jest/expect-utils';
import { printExpected, printReceived } from 'jest-matcher-utils';
import { createResult } from './lib/create-result';

Expand Down
Loading

0 comments on commit 3ebb252

Please sign in to comment.