We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is my package.json
{ "name": "jest-integration-example", "scripts": { "test": "jest", "fuzz": "JAZZER_FUZZ=1 jest", "coverage": "jest --coverage" }, "devDependencies": { "@jazzer.js/core": "^2.1.0", "@jazzer.js/jest-runner": "^1.1.0", "jest": "29.3.1" }, "jest": { "projects": [ { "displayName": "test" }, { "displayName": { "name": "Jazzer.js", "color": "cyan" }, "testMatch": [ "/**/*.fuzz.js" ], "testRunner": "@jazzer.js/jest-runner" } ] } }
and I am running the command "npm run fuzz", and get the below error
npm run coverage
coverage jest --coverage
PASS test ./workerGoldenReference.test.js PASS test ./integration.test.js FAIL Jazzer.js ./worker.fuzz.js ● Test suite failed to run
TypeError: Class constructor FuzzRunner cannot be invoked without 'new' at runTestInternal (node_modules/jest-runner/build/runTest.js:367:22)
FAIL Jazzer.js ./integration.fuzz.js ● Test suite failed to run
----------|---------|----------|---------|---------|-------------------
The text was updated successfully, but these errors were encountered:
@Shama-Ugale I moved the issue to Jazzer.js (from Jazzer).
Sorry, something went wrong.
Your dependencies don't align. Please try out only adding "@jazzer.js/jest-runner": "^2.1.0" to your project.
"@jazzer.js/jest-runner": "^2.1.0"
No branches or pull requests
Here is my package.json
{
"name": "jest-integration-example",
"scripts": {
"test": "jest",
"fuzz": "JAZZER_FUZZ=1 jest",
"coverage": "jest --coverage"
},
"devDependencies": {
"@jazzer.js/core": "^2.1.0",
"@jazzer.js/jest-runner": "^1.1.0",
"jest": "29.3.1"
},
"jest": {
"projects": [
{
"displayName": "test"
},
{
"displayName": {
"name": "Jazzer.js",
"color": "cyan"
},
"testMatch": [
"/**/*.fuzz.js"
],
"testRunner": "@jazzer.js/jest-runner"
}
]
}
}
and I am running the command "npm run fuzz", and get the below error
npm run coverage
PASS test ./workerGoldenReference.test.js
PASS test ./integration.test.js
FAIL Jazzer.js ./worker.fuzz.js
● Test suite failed to run
FAIL Jazzer.js ./integration.fuzz.js
● Test suite failed to run
----------|---------|----------|---------|---------|-------------------
The text was updated successfully, but these errors were encountered: