diff --git a/package.json b/package.json index 56c38e5e..7dce61d4 100644 --- a/package.json +++ b/package.json @@ -34,13 +34,13 @@ "dependencies": { "chalk": "^2.4.1", "css": "^2.2.3", - "jest-diff": "^22.4.3", - "jest-matcher-utils": "^22.4.3", - "pretty-format": "^23.0.1", + "jest-diff": "^23.6.0", + "jest-matcher-utils": "^23.6.0", + "pretty-format": "^23.6.0", "redent": "^2.0.0" }, "devDependencies": { - "kcd-scripts": "^0.37.0" + "kcd-scripts": "^0.44.0" }, "eslintConfig": { "extends": "./node_modules/kcd-scripts/eslint.js", diff --git a/src/to-have-style.js b/src/to-have-style.js index 2f9493b1..5a0102a0 100644 --- a/src/to-have-style.js +++ b/src/to-have-style.js @@ -25,7 +25,6 @@ function printoutStyles(styles) { .sort() .map(prop => `${prop}: ${styles[prop]};`) .join('\n') - .concat('\n') // ensure multiline for diff } // Highlights only style rules that were expected but were not found in the