my unit testing is saying 0 passing when i have a test #6518
Closed
lordshady1000
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
this is my code. i get a result in my unit testing saying 0 passing when i have a test there, please what is wrong
` ``javascript
const { deployments, ethers, getNamedAccounts } = require("hardhat");
const { assert, expect } = require("chai");
const {
networkConfig,
developmentChains,
} = require("../../helper-hardhat-config.js");
!developmentChains.includes(network.name)
? describe.skip
: describe("Raffle Unit Tests", function () {
let raffle, VrfCoordinatorV2Mock;
const chainId = network.config.chainId;
yarn run v1.22.21
warning package.json: No license field
$ /home/lordshady/web3/lottery/node_modules/.bin/hardhat test
0 passing (2ms)
Done in 5.64s.
``
Beta Was this translation helpful? Give feedback.
All reactions