Merge pull request #513 from nguerrera/test-explorer-issue-doc
Document test explorer issues and workaround
This commit is contained in:
Коммит
158dd31eb2
|
@ -40,7 +40,7 @@
|
|||
"test": "mocha --timeout 5000 --require source-map-support/register --ignore 'dist/test/manual/**/*.js' 'dist/test/**/*.js'",
|
||||
"regen-samples": "node scripts/regen-samples.js",
|
||||
"regen-nonascii": "node scripts/regen-nonascii.js",
|
||||
"fuzz": "node dist/test/manual/fuzz.js"
|
||||
"fuzz": "node dist/test/manual/fuzz.js run"
|
||||
},
|
||||
"dependencies": {
|
||||
"autorest": "~3.0.6335",
|
||||
|
|
|
@ -43,6 +43,11 @@ const weights = {
|
|||
main();
|
||||
|
||||
function main() {
|
||||
if (process.argv[2] !== "run") {
|
||||
throw new Error(
|
||||
"Correct usage is `node fuzz.js run`. Is there a missing/incorrect mocha exclude pattern causing this to load?"
|
||||
);
|
||||
}
|
||||
const iterations = 10000;
|
||||
console.log("Running parser fuzz test with 1000 iterations...");
|
||||
fuzzTest(iterations);
|
||||
|
|
Загрузка…
Ссылка в новой задаче