mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-02 13:43:06 +00:00
fix mock
This commit is contained in:
parent
afec31062c
commit
1345d53a0f
@ -14,7 +14,7 @@ describe("RLN Contract abstraction", () => {
|
||||
const rlnInstance = await createRLN();
|
||||
|
||||
rlnInstance.zerokit.insertMember = () => undefined;
|
||||
const insertMemberSpy = chai.spy.on(rlnInstance, "insertMember");
|
||||
const insertMemberSpy = chai.spy.on(rlnInstance.zerokit, "insertMember");
|
||||
|
||||
const voidSigner = new ethers.VoidSigner(SEPOLIA_CONTRACT.address);
|
||||
const rlnContract = new RLNContract(rlnInstance, {
|
||||
@ -57,7 +57,7 @@ describe("RLN Contract abstraction", () => {
|
||||
} as unknown as ethers.Contract;
|
||||
const contractSpy = chai.spy.on(
|
||||
rlnContract["registryContract"],
|
||||
"register(uint16,uint256)"
|
||||
"register(uint16,uint256)",
|
||||
);
|
||||
|
||||
const identity =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user