jest-emotion
Advanced tools
Comparing version 9.2.2 to 9.2.4
@@ -11,4 +11,6 @@ 'use strict'; | ||
function getClassNamesFromTestRenderer(selectors, node) { | ||
var props = node.props; | ||
function getClassNamesFromTestRenderer(selectors, _ref) { | ||
var _ref$props = _ref.props, | ||
props = _ref$props === undefined ? {} : _ref$props; | ||
return getClassNames(selectors, props.className || props.class); | ||
@@ -15,0 +17,0 @@ } |
{ | ||
"name": "jest-emotion", | ||
"version": "9.2.2", | ||
"version": "9.2.4", | ||
"description": "Jest utilities for emotion", | ||
"main": "lib/index.js", | ||
"types": "types/index.d.ts", | ||
"files": [ | ||
@@ -13,2 +14,3 @@ "src", | ||
"babel": "babel src -d lib", | ||
"test:typescript": "dtslint types", | ||
"watch": "babel src -d lib --watch", | ||
@@ -18,2 +20,3 @@ "clean": "rimraf lib" | ||
"dependencies": { | ||
"@types/jest": "^23.0.2", | ||
"chalk": "^2.4.1", | ||
@@ -24,3 +27,6 @@ "css": "^2.2.1" | ||
"babel-cli": "^6.24.1", | ||
"dtslint": "^0.3.0", | ||
"npm-run-all": "^4.0.2", | ||
"preact": "^8.2.9", | ||
"preact-render-to-json": "^3.6.6", | ||
"pretty-format": "^22.4.3", | ||
@@ -27,0 +33,0 @@ "rimraf": "^2.6.1" |
@@ -7,4 +7,3 @@ // @flow | ||
function getClassNamesFromTestRenderer(selectors, node) { | ||
const props = node.props | ||
function getClassNamesFromTestRenderer(selectors, { props = {} }) { | ||
return getClassNames(selectors, props.className || props.class) | ||
@@ -11,0 +10,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22012
3
7
+ Added@types/jest@^23.0.2
+ Added@types/jest@23.3.14(transitive)