MCPcopy Create free account
hub / github.com/chainjet/platform / deployTaskMock

Function deployTaskMock

test-contracts/ChainJetRunner.spec.ts:30–35  ·  view source on GitHub ↗
(account: SignerWithAddress)

Source from the content-addressed store, hash-verified

28 }
29
30 const deployTaskMock = async (account: SignerWithAddress): Promise<TaskMock> => {
31 const TaskMock = await ethers.getContractFactory('TaskMock')
32 const taskMock = await TaskMock.connect(account).deploy()
33 await taskMock.deployed()
34 return taskMock as TaskMock
35 }
36
37 const deployLongTaskMock = async (account: SignerWithAddress): Promise<LongTaskMock> => {
38 const TaskMock = await ethers.getContractFactory('LongTaskMock')

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected