test(cli): remove duplicate malformed JSON assertion
This commit is contained in:
@@ -160,12 +160,6 @@ describe("CLI JSON input", () => {
|
||||
}, 20_000);
|
||||
|
||||
it("distinguishes malformed inline text from files and preserves bracket-prefixed paths", async () => {
|
||||
expect(await parseCliJsonInput("[", "test-input")).toMatchObject({
|
||||
ok: false,
|
||||
error: {
|
||||
details: { issues: [{ reason: "invalid_format", expected: "JSON" }] },
|
||||
},
|
||||
});
|
||||
expect(await parseCliJsonInput("[", "test-input")).toMatchObject({
|
||||
ok: false,
|
||||
error: {
|
||||
|
||||
Reference in New Issue
Block a user