fix: update snapshot for error test

This commit is contained in:
James Ross 2023-12-12 16:18:56 +00:00
parent efb84b073b
commit 8461e7a34a
No known key found for this signature in database
GPG key ID: 49E8B07166BE49AB

View file

@ -26,7 +26,7 @@ describe("checkWorkingDirectory", () => {
expect(() =>
checkWorkingDirectory("/does/not/exist"),
).toThrowErrorMatchingInlineSnapshot(
'"Directory /does/not/exist does not exist."',
`[Error: Directory /does/not/exist does not exist.]`,
);
});
});