Skip to content

Commit c516548

Browse files
Update test results for improve error msg
1 parent 42ca075 commit c516548

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

__tests__/api/BundleContent/Manifest.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ describe("Manifest01", () => {
169169
}
170170

171171
// Check the output as JSON
172-
expect(err.message).toContain("Existing CICS Manifest file found with unparsable content.");
172+
expect(err.message).toContain("Existing CICS Manifest file found with unparsable content:");
173173
});
174174
it("Parse a manifest with bad namespace", () => {
175175

@@ -197,6 +197,6 @@ describe("Manifest01", () => {
197197
}
198198

199199
// Check the output as JSON
200-
expect(err.message).toContain("Existing CICS Manifest file found with unparsable content.");
200+
expect(err.message).toContain("Existing CICS Manifest file found with unparsable content:");
201201
});
202202
});

__tests__/api/BundlePush/BundlePusher.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ describe("BundlePusher01", () => {
182182
existsSpy.mockReturnValue(true);
183183
readSpy.mockImplementation((data: string) => ("wibble"));
184184
await runPushTestWithError("__tests__/__resources__/BadManifestBundle01", false,
185-
"Existing CICS Manifest file found with unparsable content.");
185+
"Existing CICS Manifest file found with unparsable content:");
186186
});
187187
it("should complain with missing manifest file", async () => {
188188
readSpy.mockImplementationOnce(() => {

0 commit comments

Comments
 (0)