squash: fixes for running tests
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
This commit is contained in:
parent
c3959c60ac
commit
b7670c5741
File diff suppressed because it is too large
Load Diff
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in New Issue