Skip to content

Commit 3365874

Browse files
author
David Narbutovich
committed
Fix jest
1 parent f654dac commit 3365874

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@
3838
},
3939
"devDependencies": {
4040
"@babel/cli": "^7.0.0",
41-
"@babel/core": "^7.0.0",
41+
"@babel/core": "^7.1.0",
4242
"@babel/preset-env": "^7.0.0",
4343
"babel-core": "^7.0.0-bridge.0",
4444
"babel-eslint": "^9.0.0",
45+
"babel-jest": "^23.6.0",
4546
"babel-plugin-add-module-exports": "^0.2.1",
4647
"eslint": "^4.19.1",
4748
"eslint-config-prettier": "^3.1.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
it("fragment-intact", function() {
22
expect(require("./input.css").replace(/\r\n/g, "\n")).toEqual(
3-
".block-1{color:red}.block-special{color:transparent}.block-2{margin:0}"
3+
".block-1{color:red}\n.block-special {\n color: transparent\n}\n.block-2{margin:0}"
44
);
55
});

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
dependencies:
2525
"@babel/highlight" "^7.0.0"
2626

27-
"@babel/core@^7.0.0":
27+
"@babel/core@^7.1.0":
2828
version "7.1.0"
2929
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.1.0.tgz#08958f1371179f62df6966d8a614003d11faeb04"
3030
dependencies:

0 commit comments

Comments
 (0)