mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 12:55:51 +00:00
test: make lockfile path assertion cross-platform
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user