@stylable/jest
Advanced tools
Comparing version 3.5.0 to 3.5.2
@@ -11,5 +11,5 @@ "use strict"; | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
} | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./jest"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@stylable/jest", | ||
"version": "3.5.0", | ||
"version": "3.5.2", | ||
"description": "Test your Stylable React components using Jest", | ||
@@ -14,5 +14,5 @@ "main": "cjs/index.js", | ||
"dependencies": { | ||
"@stylable/core": "^3.5.0", | ||
"@stylable/module-utils": "^3.5.0", | ||
"@stylable/runtime": "^3.5.0" | ||
"@stylable/core": "^3.5.2", | ||
"@stylable/module-utils": "^3.5.2", | ||
"@stylable/runtime": "^3.5.2" | ||
}, | ||
@@ -19,0 +19,0 @@ "files": [ |
@@ -5,5 +5,6 @@ # @stylable/jest | ||
`@stylable/jest` is a simple integration that allows testing your Stylable React components using [Jest](https://jestjs.io/). | ||
`@stylable/jest` is a simple integration that allows testing your Stylable React components using [Jest](https://jestjs.io/). | ||
## Installation | ||
This package is still a work-in-progress within the Stylable mono-repo. Once it matures, further details will be added here. | ||
@@ -14,2 +15,3 @@ | ||
Add the transformation to the `jest.config.js` file: | ||
```js | ||
@@ -21,4 +23,4 @@ module.exports = { | ||
transformIgnorePatterns: [ | ||
'/node_modules/(?!(.*?\\.st\\.css$))' // libraries publish .st.css files in their dist | ||
] | ||
'/node_modules/(?!(.*?\\.st\\.css$))', // libraries publish .st.css files in their dist | ||
], | ||
}; | ||
@@ -28,3 +30,3 @@ ``` | ||
## License | ||
Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by a [BSD license](./LICENSE). | ||
7978
29
Updated@stylable/core@^3.5.2
Updated@stylable/runtime@^3.5.2