-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: fix hardhat temporary * fix: yarn.lock files
- Loading branch information
1 parent
9b29dea
commit f159a09
Showing
6 changed files
with
3,976 additions
and
151 deletions.
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
20 changes: 20 additions & 0 deletions
20
apps/vechain-sdk-hardhat-integration/test/VechainHelloWorld.testnet.test.ts
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,20 @@ | ||
import { ethers } from 'hardhat'; | ||
import { expect } from 'chai'; | ||
|
||
/** | ||
* Tests for the 'VechainHelloWorld' contract | ||
*/ | ||
describe('VechainHelloWorld', function () { | ||
it('sayHello() should throw errors', async function () { | ||
const VechainHelloWorld = | ||
await ethers.getContractFactory('VechainHelloWorld'); | ||
const contract = await VechainHelloWorld.deploy(); | ||
|
||
// @NOTE: | ||
// CURRENTLY Function contract.sayHello() | ||
// should throw because TEMPORARY we have not implemented ethers.getContractFactory. | ||
// OUR SUPER TEAM WILL FIX THIS SOON. | ||
// 💪 | ||
await expect(contract.sayHello()).to.be.rejected; | ||
}); | ||
}); |
14 changes: 0 additions & 14 deletions
14
apps/vechain-sdk-hardhat-integration/test/VechainHelloWorld.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
f159a09
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test Coverage
Summary