mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-05 03:19:19 +01:00
test(skills): assert recovery through retry
This commit is contained in:
2 files changed
-2
No files matched your search
@@ -226,7 +226,6 @@ describe("doctor Skill Workshop SQLite migration", () => {
|
||||
proposals: [expect.objectContaining({ id: proposalId, status: "pending" })],
|
||||
});
|
||||
await expect(fs.access(targetSupportFile)).rejects.toThrow();
|
||||
await expect(readSkillProposalRollback(proposalId)).resolves.toBeNull();
|
||||
|
||||
await reviseSkillProposal({
|
||||
workspaceDir,
|
||||
|
||||
@@ -983,7 +983,6 @@ describe("skill workshop proposals", () => {
|
||||
proposals: [expect.objectContaining({ id: proposal.record.id, status: "pending" })],
|
||||
});
|
||||
await expect(fs.access(supportFile)).rejects.toThrow();
|
||||
await expect(readSkillProposalRollback(proposal.record.id)).resolves.toBeNull();
|
||||
|
||||
await expect(
|
||||
applySkillProposal({ workspaceDir, proposalId: proposal.record.id }),
|
||||
|
||||
Reference in new issue
Block a user