should have the minimum exports
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
6e0182f50a
commit
6b5a8d1f3e
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue