Skip to content

Commit

Permalink
[FABCN-432] - Update class transformer dependency (#213)
Browse files Browse the repository at this point in the history
* [FABCN-241] Remove to.be.ok

Signed-off-by: lesleyannj <lesleyannj@hotmail.com>

* [FABCN-1627]-Update class transformer dependency

Signed-off-by: lesleyannj <lesleyannj@hotmail.com>
  • Loading branch information
lesleyannjordan authored Sep 17, 2020
1 parent fc32346 commit f71eb0c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apis/fabric-contract-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"dependencies": {
"fabric-shim-api": "2.2.1-unstable",
"class-transformer": "^0.2.2",
"class-transformer": "^0.3.1",
"fast-safe-stringify": "^2.0.7",
"get-params": "^0.1.2",
"reflect-metadata": "^0.1.13",
Expand Down
18 changes: 9 additions & 9 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libraries/fabric-shim/test/unit/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ describe('ChaincodeServer', () => {
const mockStream = {on: sinon.stub(), write: sinon.stub()};

server.connect(mockStream);
expect(mockHandlerStub.calledOnce).to.be.true
expect(mockHandlerStub.calledOnce).to.be.true;
expect(mockHandler.chat.calledOnce).to.be.true;
});
});
Expand Down

0 comments on commit f71eb0c

Please sign in to comment.