Exporting the http unmarshaller spec 1.0
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
68aaf48ba7
commit
43c6bfe9dc
|
@ -97,9 +97,9 @@ describe("The SDK Requirements", () => {
|
|||
expect(v1).to.have.property("BinaryHTTPReceiver");
|
||||
});
|
||||
|
||||
// it("should exports 'HTTPUnmarshaller'", () => {
|
||||
// expect(v1).to.have.property("HTTPUnmarshaller");
|
||||
// });
|
||||
it("should exports 'HTTPUnmarshaller'", () => {
|
||||
expect(v1).to.have.property("HTTPUnmarshaller");
|
||||
});
|
||||
|
||||
it("should exports 'event'", () => {
|
||||
expect(v1).to.have.property("event");
|
||||
|
|
|
@ -12,6 +12,8 @@ const StructuredHTTPReceiver =
|
|||
const BinaryHTTPReceiver =
|
||||
require("../lib/bindings/http/receiver_binary_1.js");
|
||||
|
||||
const HTTPUnmarshaller = require("../lib/bindings/http/unmarshaller_1.js");
|
||||
|
||||
function event() {
|
||||
return new Cloudevent(Spec);
|
||||
}
|
||||
|
@ -22,5 +24,6 @@ module.exports = {
|
|||
BinaryHTTPEmitter,
|
||||
StructuredHTTPReceiver,
|
||||
BinaryHTTPReceiver,
|
||||
HTTPUnmarshaller,
|
||||
event
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue