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 | 29 | 30 | 31 |
Tags
- error
- node.js
- Interface
- CLASS
- HTML
- evm
- Props
- REACT
- CSS
- JavaScript
- bitcoin
- typeScript
- Redux
- API
- Ethereum
- middleware
- blockchain
- nextJS
- 기준
- solidity
- useState
- web
- concept
- built in object
- hardhat
- express.js
- tailwindcss
- 삶
- SSR
- graphQL
Archives
- Today
- Total
목록expect (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