Conversation
…st for Twine Dugger panel - Implement unit tests for getObjectPathValue function to verify nested value retrieval, map key reading, and handling of unresolved paths. - Create a smoke test for the Twine Dugger panel to ensure key elements are visible on the page. - Update Vite configuration to include test files and exclude e2e tests from unit test runs.
- Updated vitest dependency version in pnpm-workspace.yaml to ^0.1.22. - Configured Vite test coverage provider to 'v8' and disabled hot module replacement for solidPlugin in vite.config.ts. - Added unit tests for SaveButton component to verify rendering and click behavior.
…p, Object, and Array components
…ck implementations
…onents - Changed test runner from command to vitest in Stryker configuration files. - Added TypeScript checker plugin to Stryker configurations. - Updated mutation and smoke test configurations to include Solid component tests. - Created new smoke target and test files for basic logic and component rendering. - Introduced a noop setup file to suppress automatic jest-dom injection by vite-plugin-solid. - Updated vitest configuration to ensure proper environment setup for Solid components.
…sageListItem, and PassageView components
…nalysis and improved configuration
especially regarding assertions. This is to prevent false positives where a test might pass without actually verifying the intended behavior.
…iles - Updated mock function definitions to use generic types for better type inference. - Replaced `toHaveBeenCalled` assertions with more explicit checks on `mock.calls`. - Changed `toEqual` assertions to `toStrictEqual` for stricter equality checks in various test cases. - Improved readability of assertions by using `includes` and `toBe` methods where appropriate. - Ensured consistent use of type-safe mocks across multiple test files, enhancing maintainability and reducing potential runtime errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.