eslint-plugin-storybook
Advanced tools
Comparing version 0.6.13 to 0.6.14--canary.5447e45.0
@@ -33,3 +33,5 @@ "use strict"; | ||
const isExpectFromStorybookImported = (node) => { | ||
return (node.source.value === '@storybook/jest' && | ||
const { value: packageName } = node.source; | ||
const usesExpectFromStorybook = packageName === '@storybook/jest' || packageName === '@storybook/test'; | ||
return (usesExpectFromStorybook && | ||
node.specifiers.find((spec) => (0, ast_1.isImportSpecifier)(spec) && spec.imported.name === 'expect')); | ||
@@ -36,0 +38,0 @@ }; |
{ | ||
"name": "eslint-plugin-storybook", | ||
"version": "0.6.13", | ||
"version": "0.6.14--canary.5447e45.0", | ||
"description": "Best practice rules for Storybook", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
107277
1649