Skip to content

Commit

Permalink
bump jsdom to 23.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blakenetz committed Jan 10, 2024
1 parent e39b2ee commit 7faee39
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 132 deletions.
6 changes: 6 additions & 0 deletions e2e/to-match-inline-snapshot/__tests__/basic-support.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
test('inline snapshots', () =>
expect({apple: 'original value'}).toMatchInlineSnapshot(`
{
"apple": "original value",
}
`));
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`snapshots 1`] = `
{
"apple": "original value",
}
`;
1 change: 1 addition & 0 deletions e2e/to-match-snapshot/__tests__/basic-support.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test('snapshots', () => expect({apple: "updated value"}).toMatchSnapshot());

Check failure on line 1 in e2e/to-match-snapshot/__tests__/basic-support.test.js

View workflow job for this annotation

GitHub Actions / Lint

Replace `"updated·value"}).toMatchSnapshot());` with `'updated·value'}).toMatchSnapshot());⏎`

Check failure on line 1 in e2e/to-match-snapshot/__tests__/basic-support.test.js

View workflow job for this annotation

GitHub Actions / Lint

Strings must use singlequote
2 changes: 1 addition & 1 deletion packages/jest-environment-jsdom-abstract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"jest-util": "workspace:*"
},
"devDependencies": {
"jsdom": "^23.0.0"
"jsdom": "^23.2.0"
},
"peerDependencies": {
"canvas": "^2.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-environment-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@jest/environment-jsdom-abstract": "workspace:*",
"@types/jsdom": "^21.1.1",
"@types/node": "*",
"jsdom": "^23.0.0"
"jsdom": "^23.2.0"
},
"devDependencies": {
"@jest/test-utils": "workspace:*"
Expand Down
Loading

0 comments on commit 7faee39

Please sign in to comment.