Skip to content

Commit

Permalink
fix: update assertion of error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderleegs committed Aug 15, 2023
1 parent 20d3539 commit f0dd458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/db/__tests__/GitFileSystemService.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ describe("GitFileSystemService", () => {
"fake-file"
)

expect(actual.isErr()).toBeTrue()
expect(actual._unsafeUnwrapErr()).toBeInstanceOf(ConflictError)
})

it("should rollback changes if an error occurred when committing", async () => {
Expand Down

0 comments on commit f0dd458

Please sign in to comment.