squash: fixes for running tests

Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
This commit is contained in:
Lucas Holmquist 2025-06-05 08:51:14 -04:00
parent c3959c60ac
commit b7670c5741
2 changed files with 3041 additions and 8417 deletions

11454
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ describe("Emitter Singleton", () => {
if (typeof body === "string") {
body = JSON.parse(body);
}
assertStructured({ ...(<any>body), ...(msg as Message).headers });
assertStructured({ ...(body as any), ...(msg as Message).headers });
});
it("emit a Node.js 'cloudevent' event as an EventEmitter with ensureDelivery", async () => {
@ -41,7 +41,7 @@ describe("Emitter Singleton", () => {
if (typeof body === "string") {
body = JSON.parse(body);
}
assertStructured({ ...(<any>body), ...(msg as Message).headers });
assertStructured({ ...(body as any), ...(msg as Message).headers });
});
it("emit a Node.js 'cloudevent' event as an EventEmitter with ensureDelivery Error", async () => {