forked from jbx-protocol/juice-contracts-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17095fd
commit fd6199d
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { expect } from 'chai'; | ||
import { ethers } from 'hardhat'; | ||
|
||
import { deployMockContract } from '@ethereum-waffle/mock-contract'; | ||
|
||
import jbOperatoreStore from "../../artifacts/contracts/JBOperatorStore.sol/JBOperatorStore.json"; | ||
import jbProjects from "../../artifacts/contracts/JBProjects.sol/JBProjects.json"; | ||
|
||
describe('JBDirectory::addTerminals(...)', function () { | ||
|
||
async function setup() { | ||
let [deployer, ...addrs] = await ethers.getSigners(); | ||
|
||
let mockJbOperatorStore = await deployMockContract(deployer, jbOperatoreStore.abi); | ||
let mockJbProjects = await deployMockContract(deployer, jbProjects.abi); | ||
|
||
let jbDirectoryFactory = await ethers.getContractFactory('JBDirectory'); | ||
let jbDirectory = await jbDirectoryFactory.deploy(mockJbOperatorStore.address, mockJbProjects.address); | ||
|
||
return { deployer, addrs, mockJbOperatorStore, mockJbProjects, jbDirectory }; | ||
} | ||
|
||
it('hello world', async function () { | ||
const { deployer } = await setup(); | ||
}); | ||
|
||
}); |