Skip to content

Commit 144a9d5

Browse files
authored
fix(custom-jsdom-html): fix formatting
1 parent 6103b55 commit 144a9d5

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
## main
22

33
### Features
4+
45
- `[jest-config]` Add `testEnvironmentOptions.html` to apply to jsdom input ([11950](https://github.com/facebook/jest/pull/11950))
6+
57
### Fixes
68

79
- `[jest-runtime]` Ensure absolute paths can be resolved within test modules ([11943](https://github.com/facebook/jest/pull/11943))

e2e/custom-jsdom-html/package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
2-
"dependencies": {
3-
"@babel/core": "^7.2.2",
4-
"@babel/preset-env": "^7.2.2"
5-
},
6-
"jest": {
7-
"testEnvironment": "jsdom",
8-
"testEnvironmentOptions": {
9-
"html": "<div id=\"root\"></div>"
10-
}
2+
"dependencies": {
3+
"@babel/core": "^7.2.2",
4+
"@babel/preset-env": "^7.2.2"
5+
},
6+
"jest": {
7+
"testEnvironment": "jsdom",
8+
"testEnvironmentOptions": {
9+
"html": "<div id=\"root\"></div>"
1110
}
1211
}
13-
12+
}

0 commit comments

Comments
 (0)