diff --git a/src/FileOperation/Parser.test.ts b/src/FileOperation/Parser.test.ts index 78f789e..c912eaf 100644 --- a/src/FileOperation/Parser.test.ts +++ b/src/FileOperation/Parser.test.ts @@ -140,6 +140,7 @@ describe('parse config', () => { ` const jsonObject = JSON.parse(jsonString); const parsedOp = parseOperations(jsonString); - expect(isParsingError(parsedOp)).toBeFalsy(); + expect(isParsingError(parsedOp)).toBeTruthy(); + expect((parsedOp as ParsingError).mssg).toContain("could not find custom layer with name: Ta - Eurasian Aspen (Z)") }) });