Skip to content

Commit e67dbfa

Browse files
Minidoracatclaude
andcommitted
test: 修復 Cline 路徑測試
更新測試以反映 Cline 路徑從 .clinerules/ 變更為 .clinerules/workflows/ 🔧 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 5f1c3ef commit e67dbfa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/core/init.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,15 +356,15 @@ describe('InitCommand', () => {
356356

357357
const clineProposal = path.join(
358358
testDir,
359-
'.clinerules/openspec-proposal.md'
359+
'.clinerules/workflows/openspec-proposal.md'
360360
);
361361
const clineApply = path.join(
362362
testDir,
363-
'.clinerules/openspec-apply.md'
363+
'.clinerules/workflows/openspec-apply.md'
364364
);
365365
const clineArchive = path.join(
366366
testDir,
367-
'.clinerules/openspec-archive.md'
367+
'.clinerules/workflows/openspec-archive.md'
368368
);
369369

370370
expect(await fileExists(clineProposal)).toBe(true);

test/core/update.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ More rules after.`;
179179
it('should refresh existing Cline rule files', async () => {
180180
const proposalPath = path.join(
181181
testDir,
182-
'.clinerules/openspec-proposal.md'
182+
'.clinerules/workflows/openspec-proposal.md'
183183
);
184184
await fs.mkdir(path.dirname(proposalPath), { recursive: true });
185185
const initialContent = `# OpenSpec: Proposal

0 commit comments

Comments
 (0)