(account: SignerWithAddress)
| 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 () => { |
no outgoing calls
no test coverage detected