generated from storybookjs/addon-kit
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 0.8.0 #199
Merged
Release 0.8.0 #199
Commits on Sep 21, 2022
-
Fix StorybookTestRunnerError – length on undefined
When running `yarn test-storybook` on my story, a 3rd party library throws an uncaught exception, but `StorybookTestRunnerError` _assumes_ `logs` is an array, which throws this error: ```console UnhandledPromiseRejectionWarning: page.evaluate: TypeError: Cannot read properties of undefined (reading 'length') at new StorybookTestRunnerError (<anonymous>:58:34) at __throwError (<anonymous>:71:15) at eval (eval at evaluate (:192:30), <anonymous>:4:19) at UtilityScript.evaluate (<anonymous>:194:17) at UtilityScript.<anonymous> (<anonymous>:1:44) ``` This PR simply **defaults `logs` to `[]`**, so I can correctly see that the underlying error is _actually_ coming from a 3rd party library: ```console Cannot read properties of null (reading 'focus') ```
Configuration menu - View commit details
-
Copy full SHA for 13b7cf6 - Browse repository at this point
Copy the full SHA 13b7cf6View commit details
Commits on Oct 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d1bba72 - Browse repository at this point
Copy the full SHA d1bba72View commit details -
Configuration menu - View commit details
-
Copy full SHA for b923816 - Browse repository at this point
Copy the full SHA b923816View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53a5749 - Browse repository at this point
Copy the full SHA 53a5749View commit details
Commits on Oct 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4010e3e - Browse repository at this point
Copy the full SHA 4010e3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ffbab9c - Browse repository at this point
Copy the full SHA ffbab9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a0c555 - Browse repository at this point
Copy the full SHA 2a0c555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a52491 - Browse repository at this point
Copy the full SHA 3a52491View commit details -
Configuration menu - View commit details
-
Copy full SHA for 719a112 - Browse repository at this point
Copy the full SHA 719a112View commit details -
Configuration menu - View commit details
-
Copy full SHA for d45feb9 - Browse repository at this point
Copy the full SHA d45feb9View commit details -
Merge pull request #198 from storybookjs/feat/is-test-runner-utility
Add isTestRunner utility
Configuration menu - View commit details
-
Copy full SHA for 5e677bd - Browse repository at this point
Copy the full SHA 5e677bdView commit details -
Merge pull request #194 from ericclemmons/patch-1
Fix StorybookTestRunnerError – length on undefined
Configuration menu - View commit details
-
Copy full SHA for b45bd34 - Browse repository at this point
Copy the full SHA b45bd34View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.