-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a4bb8d
commit b02221c
Showing
8 changed files
with
124 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import * as helper from '../../app/helper.js'; | ||
import {installAll} from '../../app/chaincodeOperator.js'; | ||
import {installAndApprove, commit} from '../testutil.js'; | ||
|
||
const chaincodeID = 'ecosystem'; | ||
const orderers = helper.newOrderers(); | ||
const orderer = orderers[0]; | ||
|
||
|
||
describe('deploy', function () { | ||
this.timeout(0); | ||
it('install', async () => { | ||
await installAll(chaincodeID); | ||
}); | ||
it('query installed & approve', async () => { | ||
|
||
const orgs = ['icdd', 'astri.org']; | ||
for (const org of orgs) { | ||
await installAndApprove(org, chaincodeID, orderer); | ||
} | ||
|
||
}); | ||
it('commit', async () => { | ||
const org = 'icdd'; | ||
await commit(org, chaincodeID, orderer); | ||
}); | ||
}); | ||
describe('invoke', function () { | ||
this.timeout(0); | ||
it('CreateToken', async () => { | ||
|
||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.