New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@storybook/testing-react

Package Overview
Dependencies
Maintainers
27
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/testing-react - npm Package Compare versions

Comparing version 0.0.18--canary.29.8540aca.0 to 0.0.18--canary.33.6e6a4b1.0

2

package.json
{
"name": "@storybook/testing-react",
"version": "0.0.18--canary.29.8540aca.0",
"version": "0.0.18--canary.33.6e6a4b1.0",
"description": "Testing utilities that allow you to reuse your stories in your unit tests",

@@ -5,0 +5,0 @@ "keywords": [

@@ -139,2 +139,18 @@ <p align="center">

Type inference is only possible in projects that have either `strict` or `strictBindApplyCall` modes set to `true` in their `tsconfig.json` file. You also need a TypeScript version over 4.0.0. If you don't have proper type inference, this might be the reason.
```json
// tsconfig.json
{
"compilerOptions": {
// ...
"strict": true, // You need either this option
"strictBindCallApply": true // or this option
// ...
}
// ...
}
```
### Disclaimer

@@ -165,6 +181,4 @@

You should use TypeScript version >4. You will also need to add `strictBindCallApply: true` in your `tsconfig.json`, and verify that stories are correctly included in your `tsconfig.json`. To do so, run `tsc --listFiles | grep stories`, you should see your stories.
## License
[MIT](./LICENSE)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc