Skip to content

Lesson 9 Error while running tests #5467

Answered by HarshDev56
Adelani10 asked this question in Q&A
Discussion options

You must be logged in to vote

@Adelani10 i mention all issues and there solution by comment "ERROR::" in below code . if you found this answer helpful then please mark it as Answer/solved . so others can get the answer

this is your updated Raffle.test.js file for resolving all unit test related issue replace this file with your file


const { assert, expect } = require("chai")
const { network, deployments, ethers } = require("hardhat")
const { developmentChains, networkConfig } = require("../../helper-hardhat-config")

!developmentChains.includes(network.name)
    ? describe.skip
    : describe("Raffle Unit Tests", function () {
        let raffle, raffleContract, vrfCoordinatorV2Mock, raffleEntranceFee, interval, play…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@Adelani10
Comment options

@HarshDev56
Comment options

@Adelani10
Comment options

Comment options

You must be logged in to vote
1 reply
@Adelani10
Comment options

Answer selected by alymurtazamemon
Comment options

You must be logged in to vote
4 replies
@Adelani10
Comment options

@HarshDev56
Comment options

@alymurtazamemon
Comment options

@Adelani10
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants