code-server/test/unit/node
Joe Previte 7ce9ee0db6
fix: check path is string in pathToFsPath
There's a chance this function can be called with a path that is not a string.

To catch that, we check if path is of a different type and throw an error if it
is.

This also adds a couple tests for this function.
2021-07-12 16:39:42 -07:00
..
util.test.ts fix: check path is string in pathToFsPath 2021-07-12 16:39:42 -07:00