Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 如何使用jest配置ESLint HTML reporter?_Windows_Npm_Jestjs_Eslint_Frisby.js - Fatal编程技术网

Windows 如何使用jest配置ESLint HTML reporter?

Windows 如何使用jest配置ESLint HTML reporter?,windows,npm,jestjs,eslint,frisby.js,Windows,Npm,Jestjs,Eslint,Frisby.js,我想用jest的package.json配置ESLint HTML reporter,在ESLint的站点或jest上什么都不配置。因此,我无法通过CMD传递jest来运行脚本 谢谢你用这个:我试过了,效果很好 "jest-stare": { "merge": "true", "resultDir": "results/jest-stare", "log": "true", "resultHtml"

我想用jest的package.json配置ESLint HTML reporter,在ESLint的站点或jest上什么都不配置。因此,我无法通过CMD传递jest来运行脚本


谢谢你用这个:我试过了,效果很好

 "jest-stare": {
            "merge": "true",
            "resultDir": "results/jest-stare",
            "log": "true",
            "resultHtml": "main.html",
            "resultJson": "data.json",
            "jestStareConfigJson": "jest-stare-config.json",
            "coverageLink": "../../coverage/lcov-report/index.html"
        }