Skip to content

Commit e441287

Browse files
authored
test: normalize workspace change path assertion (#1117)
1 parent 7fdb177 commit e441287

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.changeset/neat-cameras-press.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

test/commands/artifact-workflow.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ describe('artifact-workflow CLI commands', () => {
384384
expect(create.exitCode).toBe(0);
385385
const createOutput = getOutput(create);
386386
expect(createOutput).toContain('workspace change');
387-
expect(createOutput).toContain('changes/cross-repo-login');
387+
expect(normalizePaths(createOutput)).toContain('changes/cross-repo-login');
388388

389389
const changeDir = path.join(workspaceRoot, 'changes', 'cross-repo-login');
390390
const metadata = await fs.readFile(path.join(changeDir, '.openspec.yaml'), 'utf-8');

0 commit comments

Comments
 (0)