8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d431c9c commit 26c7634Copy full SHA for 26c7634
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(expect.stringMatching(/Unexpected token/))
33
})
34
35
describe("with invalid settings file path", () => {
0 commit comments