We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41a7c7 commit 7da6533Copy full SHA for 7da6533
test/integration/cloud_event_test.ts
@@ -57,7 +57,7 @@ describe("A CloudEvent", () => {
57
58
it("serializes as JSON with raw log", () => {
59
const ce = new CloudEvent({ ...fixture, data: { lunch: "tacos" } });
60
- expect(ce.toString()).to.deep.equal(ce[Symbol.for("nodejs.util.inspect.custom")]());
+ expect(ce.toString()).to.deep.equal(JSON.stringify(ce));
61
});
62
63
it("Throw a validation error for invalid extension names", () => {
0 commit comments