test: fix Windows path separator failure in atCommandUtils.test.ts

This commit is contained in:
Coco Sheng
2026-05-19 11:06:53 -04:00
parent 81f63c7779
commit 3667c6f030

View File

@@ -69,7 +69,7 @@ describe('atCommandUtils', () => {
expect(result.status).toBe('resolved');
if (result.status === 'resolved') {
expect(result.resolved.absolutePath).toBe(absolutePath);
expect(result.resolved.relativePath).toBe('src/index.ts');
expect(result.resolved.relativePath).toBe(path.join('src', 'index.ts'));
}
});