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

Function deployLongTaskMock

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

Source from the content-addressed store, hash-verified

35 }
36
37 const deployLongTaskMock = async (account: SignerWithAddress): Promise<LongTaskMock> => {
38 const TaskMock = await ethers.getContractFactory('LongTaskMock')
39 const taskMock = await TaskMock.connect(account).deploy()
40 await taskMock.deployed()
41 return taskMock as LongTaskMock
42 }
43
44 describe('initialize', () => {
45 it('should set the correct state variables', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected