Archived
1
0

refactor: clean up testing files

This commit is contained in:
Joe Previte
2021-07-12 16:54:19 -07:00
parent a5cf01840a
commit fc16f7e06d
5 changed files with 15 additions and 17 deletions

View File

@ -469,9 +469,7 @@ describe("pathToFsPath", () => {
util
// @ts-expect-error We need to check other types
.pathToFsPath({}),
).toThrow(
`Could not compute fsPath from given uri. Expected path to be of type string, but was of type undefined.`,
)
).toThrow(`Could not compute fsPath from given uri. Expected path to be of type string, but was of type undefined.`)
})
it("should not throw an error for a string array", () => {
// @ts-expect-error We need to check other types