Remove error.

This commit is contained in:
mike12345567 2025-01-20 15:33:06 +00:00
parent 3b03515253
commit a920be3207
1 changed files with 0 additions and 7 deletions

View File

@ -43,11 +43,4 @@ describe("Javascript", () => {
expect(output.logs[0].line).toEqual(1)
expect(output.logs[0].type).toEqual("warn")
})
it("should return the type working with error", () => {
const output = processJS(`console.error("error"); return 1`)
expect(output.logs[0].log).toEqual(["error"])
expect(output.logs[0].line).toEqual(1)
expect(output.logs[0].type).toEqual("error")
})
})