diff --git a/test/sdk_test.js b/test/sdk_test.js index 0b9763d..cbfae9c 100644 --- a/test/sdk_test.js +++ b/test/sdk_test.js @@ -7,8 +7,24 @@ describe("The SDK Requirements", () => { it("should create an event using the right spec version", () => { expect(v02.event().spec.payload.specversion).to.equal("0.2"); }); + + it("should have 'Spec' export", () => { + expect(v02).to.have.property("Spec"); + }); + + it("should have 'StructuredHTTPEmitter' export", () => { + expect(v02).to.have.property("StructuredHTTPEmitter"); + }); + + it("should have 'BinaryHTTPEmitter' export", () => { + expect(v02).to.have.property("BinaryHTTPEmitter"); + }); + + it("should have 'event' export", () => { + expect(v02).to.have.property("event"); + }); }); - + describe("v0.3", () => { it("should create an event using the right spec version", () => { expect(v03.event().spec.payload.specversion).to.equal("0.3");