https://nftlabs.github.io/nftlabs-sdk-ts/sdk.html
Tests require a hardhat node to be running. One can be started by running npx hardhat node
in a hardhat project. A hardhat project can be initialized using npx hardhat init -y
.
$ yarn run test:all
$ yarn run test test/pack.test.ts
$ yarn run test test/pack.test.ts --grep "should allow you to buy a pack"