Skip to content

Commit

Permalink
temp(action): test action
Browse files Browse the repository at this point in the history
  • Loading branch information
kidneyweakx committed Feb 2, 2024
1 parent 1c05dd8 commit b3bde59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions test/fabric/service/caService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import Ca from '../../../src/fabric/service/caService'
import config from '../../../src/fabric/config'
import { CaEnrollCommandTypeEnum, CaRegisterTypeEnum } from '../../../src/fabric/model/type/caService.type'
import { sleep } from '../../../src/util'
import { spawn } from 'child_process'

Check warning on line 9 in test/fabric/service/caService.test.ts

View workflow job for this annotation

GitHub Actions / lint-and-compile

'spawn' is defined but never used

describe('Fabric.CA', function () {
describe.only('Fabric.CA', function () {
this.timeout(10000)

let caService: Ca
Expand Down Expand Up @@ -388,12 +389,11 @@ describe('Fabric.CA', function () {
reject(new Error(`rca connect test error: ${err.message}`))
})
})

after(async () => {
await caService.down({ caName: rcaArgv.basic.caName })
await caService.down({ caName: icaArgv.basic.caName })
fs.rmSync(`${config.infraConfig.bdkPath}/${config.networkName}`, { recursive: true })
})
})
after(async () => {
await caService.down({ caName: rcaArgv.basic.caName })
await caService.down({ caName: icaArgv.basic.caName })
fs.rmSync(`${config.infraConfig.bdkPath}/${config.networkName}`, { recursive: true })
})

it('reenroll orderer ca', async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/fabric/service/chaincode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import MinimumNetwork from '../util/minimumNetwork'
import sinon from 'sinon'
import { DockerResultType } from '../../../src/fabric/instance/infra/InfraRunner.interface'

describe('Chaincode service:', function () {
describe.only('Chaincode service:', function () {
this.timeout(90000)

let minimumNetwork: MinimumNetwork
Expand Down

0 comments on commit b3bde59

Please sign in to comment.