Fix compiler errors in test files#56
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
Pull request overview
Fixes TypeScript compilation errors in unit tests by aligning mocks and test factories with updated type signatures in the solution/load-state and open-file-external abstractions.
Changes:
- Update
OpenCommandtests to mockIOpenFileExternal.openFile()with astringreturn value. - Update
SolutionLoadStatetest factories to include the newly requiredactivatedinitializer.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/views/solution-outline/commands/open-command.test.ts | Fixes test mocks to match openFile(): string return type. |
| src/solutions/solution-manager.factories.ts | Adds activated to SolutionLoadState factories to satisfy makeFactory initializer requirements. |
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|

Fixes
Checklist