We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccc5f82 commit 4e7def2Copy full SHA for 4e7def2
test/unit/node/settings.test.ts
@@ -29,7 +29,7 @@ describe("settings", () => {
29
const settings = new SettingsProvider<CoderSettings>(pathToMockSettingsFile)
30
await settings.read()
31
// This happens when we can't parse a JSON (usually error in file)
32
- expect(logger.warn).toHaveBeenCalledWith("Unexpected token t in JSON at position 29")
+ expect(logger.warn).toHaveBeenCalledWith("Unexpected token 't', ...\"lloWorld:\"test\"}\" is not valid JSON")
33
})
34
35
describe("with invalid settings file path", () => {
0 commit comments