You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/instructions/testing-workflow.instructions.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -581,3 +581,5 @@ envConfig.inspect
581
581
- Use `as unknown as TargetType` for type casting instead of `as any` to maintain type safety and avoid 'any' violations
582
582
- If tests frequently need private access consider that maybe methods should be protected, or public test utilities should exist for testing (1)
583
583
- When making systematic changes across many similar locations, fix one instance completely first to validate the approach before applying the pattern everywhere (1)
584
+
- Always recompile tests after making changes before running them, especially when changing imports or type definitions (1)
585
+
- When using paths as Map keys for tracking, you MUST use Uri.fsPath consistently throughout the test - mixing hardcoded strings with Uri.fsPath causes key mismatches on Windows (1)
0 commit comments