250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Ethereum
- 삶
- CSS
- tailwindcss
- solidity
- Interface
- bitcoin
- hardhat
- Props
- JavaScript
- evm
- useState
- middleware
- HTML
- concept
- typeScript
- graphQL
- node.js
- blockchain
- Redux
- 기준
- error
- CLASS
- SSR
- nextJS
- REACT
- API
- express.js
- web
- built in object
Archives
- Today
- Total
목록loadFixture (1)
ReasonJun
Hardhat : loadFixture(), it(), expect()
import { loadFixture } from '@nomicfoundation/hardhat-network-helpers'; import { expect } from 'chai'; import { ethers } from 'hardhat'; describe('VendingMachine', function () { // We define a fixture to reuse the same setup in every test. // We use loadFixture to run this setup once, snapshot that state, // and reset Hardhat Network to that snapshot in every test. async function VendingMachineF..
Blockchain/HardHat
2023. 10. 20. 15:37