Skip to content

Commit fefc5cc

Browse files
authored
chore: roll expect to 30.2 (#38069)
1 parent 007f577 commit fefc5cc

34 files changed

+528
-17551
lines changed

package-lock.json

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"@vitejs/plugin-basic-ssl": "^1.1.0",
7676
"@vitejs/plugin-react": "^4.2.1",
7777
"@zip.js/zip.js": "^2.7.29",
78-
"ansi-styles": "^4.3.0",
7978
"chokidar": "^3.5.3",
8079
"chromium-bidi": "^9.0.0",
8180
"colors": "^1.4.0",
@@ -90,7 +89,6 @@
9089
"eslint-plugin-react": "^7.37.5",
9190
"eslint-plugin-react-hooks": "^5.2.0",
9291
"formidable": "^2.1.1",
93-
"immutable": "^4.3.7",
9492
"license-checker": "^25.0.1",
9593
"mime": "^3.0.0",
9694
"node-stream-zip": "^1.15.0",

packages/playwright/ThirdPartyNotices.txt

Lines changed: 202 additions & 282 deletions
Large diffs are not rendered by default.

packages/playwright/bundles/expect/package-lock.json

Lines changed: 319 additions & 348 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/playwright/bundles/expect/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
"version": "0.0.1",
44
"private": true,
55
"dependencies": {
6-
"@jest/expect-utils": "29.7.0",
7-
"jest-get-type": "29.6.3",
8-
"jest-matcher-utils": "29.7.0",
9-
"jest-message-util": "29.7.0",
10-
"jest-mock": "29.7.0",
11-
"jest-util": "29.7.0"
6+
"expect": "30.2.0",
7+
"jest-matcher-utils": "30.2.0"
128
}
139
}

packages/playwright/bundles/expect/src/expectBundleImpl.ts

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17-
import * as mu from 'jest-matcher-utils';
18-
19-
import * as am from '../third_party/asymmetricMatchers';
20-
import expectLibrary from '../third_party/index';
21-
17+
import expectLibrary from 'expect';
2218
export const expect = expectLibrary;
23-
export * as mock from 'jest-mock';
24-
25-
export const asymmetricMatchers = {
26-
any: am.any,
27-
anything: am.anything,
28-
arrayContaining: am.arrayContaining,
29-
arrayNotContaining: am.arrayNotContaining,
30-
closeTo: am.closeTo,
31-
notCloseTo: am.notCloseTo,
32-
objectContaining: am.objectContaining,
33-
objectNotContaining: am.objectNotContaining,
34-
stringContaining: am.stringContaining,
35-
stringMatching: am.stringMatching,
36-
stringNotContaining: am.stringNotContaining,
37-
stringNotMatching: am.stringNotMatching,
38-
};
39-
40-
export const matcherUtils = {
41-
stringify: mu.stringify,
42-
};
4319

4420
export {
4521
EXPECTED_COLOR,

packages/playwright/bundles/expect/third_party/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)