fix: normalize base config dir for Windows compatibility #5
Annotations
7 errors
|
test (windows-latest, 18.x)
Process completed with exit code 1.
|
|
tests/unit/constants.test.ts > Constants > should return correct config path:
tests/unit/constants.test.ts#L23
AssertionError: expected '.opencode\agent\team' to be '.opencode/agent/team' // Object.is equality
- Expected
+ Received
- .opencode/agent/team
+ .opencode\agent\team
❯ tests/unit/constants.test.ts:23:18
|
|
tests/unit/constants.test.ts > Constants > should return correct config dir for global scope:
tests/unit/constants.test.ts#L13
AssertionError: expected 'C:\Users\runneradmin\.config\opencode' to contain '.config/opencode'
- Expected
+ Received
- .config/opencode
+ C:\Users\runneradmin\.config\opencode
❯ tests/unit/constants.test.ts:13:17
|
|
test (windows-latest, 20.x)
The strategy configuration was canceled because "test.windows-latest_18_x" failed
|
|
test (windows-latest, 20.x)
Process completed with exit code 1.
|
|
tests/unit/constants.test.ts > Constants > should return correct config path:
tests/unit/constants.test.ts#L23
AssertionError: expected '.opencode\agent\team' to be '.opencode/agent/team' // Object.is equality
- Expected
+ Received
- .opencode/agent/team
+ .opencode\agent\team
❯ tests/unit/constants.test.ts:23:18
|
|
tests/unit/constants.test.ts > Constants > should return correct config dir for global scope:
tests/unit/constants.test.ts#L13
AssertionError: expected 'C:\Users\runneradmin\.config\opencode' to contain '.config/opencode'
- Expected
+ Received
- .config/opencode
+ C:\Users\runneradmin\.config\opencode
❯ tests/unit/constants.test.ts:13:17
|