Skip to content

Commit

Permalink
Add peer service unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
SecondDim committed Jan 22, 2022
1 parent f815764 commit 521e919
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 162 deletions.
5 changes: 3 additions & 2 deletions test/service/orderer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Orderer from '../../src/service/orderer'
import { NetworkCreateType, NetworkCreateOrdererOrgType } from '../../src/model/type/network.type'

describe('Orderer service:', function () {
this.timeout(10000)
this.timeout(60000)

let networkService: Network
let networkCreateJson: NetworkCreateType
Expand Down Expand Up @@ -151,6 +151,8 @@ describe('Orderer service:', function () {
})
})

// TODO createOrdererOrgConfigtxJSON

describe('createDockerCompose', () => {
before(async () => {
(new Config(config)).init()
Expand Down Expand Up @@ -183,7 +185,6 @@ describe('Orderer service:', function () {
// TODO throw new ParamsError('genesisFileName is required')
})

// TODO createOrdererOrgConfigtxJSON
// TODO addOrgToChannel
// TODO addOrgToChannelSteps
// TODO addConsenterToChannel
Expand Down
Loading

0 comments on commit 521e919

Please sign in to comment.