Skip to content

Commit 65071b4

Browse files
Merge pull request #3 from Githubguy132010/pr/Githubguy132010/3954
Fix: Update error message for invalid JSON in importSettings test
2 parents 9345bd9 + 3c01788 commit 65071b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/config/__tests__/importExport.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ describe("importExport", () => {
227227

228228
expect(result).toEqual({
229229
success: false,
230-
error: "Expected property name or '}' in JSON at position 2 (line 1 column 3)",
230+
error: "Expected property name or '}' in JSON at position 2",
231231
})
232232
expect(fs.readFile).toHaveBeenCalledWith("/mock/path/settings.json", "utf-8")
233233
expect(mockProviderSettingsManager.import).not.toHaveBeenCalled()

0 commit comments

Comments
 (0)