-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Init network with simple chaincode #157
Conversation
@@ -49,7 +52,7 @@ describe('validate', () => { | |||
expect(commandResult).toEqual(TestCommands.success()); | |||
expect(commandResult.output).toContain('Validation errors count: 0'); | |||
expect(commandResult.output).toContain('Validation warnings count: 0'); | |||
expect(commands.getFiles()).toEqual(['./e2e/__tmp__/commands-tests/fabrica-config.json']); | |||
expect(commands.getFiles()).toContain('./e2e/__tmp__/commands-tests/fabrica-config.json'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm... didn't quite get the case where:
- user first creates own chaincode in
chaincodes/chaincode-kv-node
- then executes
fabrica init
What would happen then? Files will get overridden or we revive yeoman prompt?
(If it's not handled) Maybe he should get suitable prompt like: "chaincode already exists. It's advised to manually check if fabrica-config
contains correctchaincode[0].lang
" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be tested
963c214
to
3ebeabd
Compare
Init network with simple chaincode
Init network with simple chaincode Signed-off-by: Piotr Hejwowski <[email protected]>
Init network with simple chaincode Signed-off-by: Piotr Hejwowski <[email protected]>
Init network with simple chaincode Signed-off-by: Jakub Dzikowski <[email protected]>
Init network with simple chaincode Signed-off-by: Jakub Dzikowski <[email protected]>
No description provided.