Skip to content

Feat/mutation smoke finalize - #47

Draft
Goctionni wants to merge 29 commits into
mainfrom
feat/mutation-smoke-finalize
Draft

Goctionni wants to merge 29 commits into
mainfrom
feat/mutation-smoke-finalize

Conversation

@Goctionni

Copy link
Copy Markdown
Owner

No description provided.

czer323 added 29 commits May 25, 2026 02:05
…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.
…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.
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants