-
Notifications
You must be signed in to change notification settings - Fork 72
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
Improve type safety and code quality #383
Commits on Nov 10, 2023
-
refactor: Update various files
- Update test snapshots and test files in the `csf` and `playwright` directories. - Update `hooks.ts`, `index.ts`, `transformPlaywright.test.ts`, `transformPlaywright.ts`, `transformPlaywrightJson.test.ts`, `transformPlaywrightJson.ts`, `setup-page.ts`, `test-storybook.ts`, `getCliOptions.test.ts`, `getCliOptions.ts`, `getParsedCliOptions.test.ts`, `getStorybookMain.ts`, `getStorybookMetadata.ts`, `getTestRunnerConfig.test.ts`, `getTestRunnerConfig.ts`, and `tsconfig.json`. - These changes were made to improve the codebase and ensure compatibility with the latest dependencies and standards.
Configuration menu - View commit details
-
Copy full SHA for dc692b4 - Browse repository at this point
Copy the full SHA dc692b4View commit details -
chore: Update package.json, src/config/jest-playwright.ts, src/csf/tr…
…ansformCsf.ts, src/playwright/transformPlaywrightJson.ts, and src/typings.d.ts - Update package.json to include new dependencies or update existing ones. - Modify src/config/jest-playwright.ts to configure Jest with Playwright. - Refactor src/csf/transformCsf.ts to improve code readability and maintainability. - Update src/playwright/transformPlaywrightJson.ts to handle new Playwright JSON format. - Update src/typings.d.ts to include new type definitions or modify existing ones.
Configuration menu - View commit details
-
Copy full SHA for ca36a3d - Browse repository at this point
Copy the full SHA ca36a3dView commit details -
feat(typings): Remove unused __getContext variable
The __getContext variable was no longer being used in the codebase, so it was removed to improve code cleanliness and maintainability.
Configuration menu - View commit details
-
Copy full SHA for c7b4bed - Browse repository at this point
Copy the full SHA c7b4bedView commit details -
feat: optimize Storybook configuration and test runner setup
- Updated the `storyStoreV7` feature in the Storybook configuration to use a more concise expression. - Modified the test runner to handle cases where the element handler is null or undefined. - Added JSDoc type annotation for the exported Jest configuration.
Configuration menu - View commit details
-
Copy full SHA for 351db47 - Browse repository at this point
Copy the full SHA 351db47View commit details
Commits on Nov 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8247d70 - Browse repository at this point
Copy the full SHA 8247d70View commit details -
refactor: Update getStorybookMain utility functions
- Refactored getStorybookMain.test.ts and getStorybookMain.ts files. - Made improvements to the utility functions for better performance and readability.
Configuration menu - View commit details
-
Copy full SHA for 1703067 - Browse repository at this point
Copy the full SHA 1703067View commit details
Commits on Nov 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e73819e - Browse repository at this point
Copy the full SHA e73819eView commit details -
refactor(playwright): Simplify logic in transformPlaywrightJson.ts
Simplified the logic in the `transformPlaywrightJson.ts` file to improve readability and maintainability. - Replaced the double negation with a single negation in the `makeTest` function. - Made the `tags` property optional in the `V4Entry` type. - Added a default value of `false` for the `metaOrStoryPlay` parameter in the `makeTest` function. - Removed the unused import of `TestRunnerConfig` in `test-storybook.ts`.
Configuration menu - View commit details
-
Copy full SHA for 1cd32e7 - Browse repository at this point
Copy the full SHA 1cd32e7View commit details -
refactor: Refactor transformPlaywrightJson module and its test file
This commit includes changes to the transformPlaywrightJson module and its corresponding test file. The purpose of these changes is to refactor the code and improve its overall structure and readability.
Configuration menu - View commit details
-
Copy full SHA for ecc0d29 - Browse repository at this point
Copy the full SHA ecc0d29View commit details
Commits on Nov 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be7b73d - Browse repository at this point
Copy the full SHA be7b73dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 049359f - Browse repository at this point
Copy the full SHA 049359fView commit details