test: make lockfile path assertion cross-platform
This commit is contained in:
parent
22480302c3
commit
ea344ad036
|
|
@ -1,3 +1,4 @@
|
|||
import { join } from 'node:path'
|
||||
import { describe, expect, test } from 'bun:test'
|
||||
import {
|
||||
buildLockfilePayload,
|
||||
|
|
@ -26,7 +27,7 @@ describe('lockfile helpers', () => {
|
|||
|
||||
try {
|
||||
expect(getLockfilePath(4567)).toBe(
|
||||
'D:\\tmp\\claude-config\\ide\\4567.lock',
|
||||
join('D:/tmp/claude-config', 'ide', '4567.lock'),
|
||||
)
|
||||
} finally {
|
||||
if (originalConfigDir === undefined) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user