Fix tests
This commit is contained in:
parent
2d016c44bd
commit
b7e80c39f1
2 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ describe("Document lock", () => {
|
|||
test("should throw an error when unlocking a document that is not locked", () => {
|
||||
expect(() => {
|
||||
locks.unlock(testPath);
|
||||
}).toThrow(`Document ${testPath} is not locked, cannot unlock`);
|
||||
}).toThrow(`Key '${testPath}' is not locked, cannot unlock`);
|
||||
});
|
||||
|
||||
test("should wait for a document lock and resolve when unlocked", async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue