karmatic:with使用Jest的API轻松进行自动(无头)浏览器测试,但由Karma&Webpack支持

Karmatic由&支持的零配置浏览器测试,具有自动和支持。可以将其视为跨浏览器测试的Jest,甚至使用相同的。我为什么要这个?业力,汇总/ Webpack和Jasmine都很棒。它们也都非常强大,并且每个都是高度可配置的。在创建和维护小型模块时,这些配置和依赖项的重复很麻烦。 Karmatic是这些工具的零配置包装器,具有智能默认值,配置自动检测和大多数配置不包括的优化。最重要的是,Karmatic在单个依赖项中提供了(无头)浏览器测试工具。安装npm i -D karmatic ...然后将test脚本添加到您的package.json : {
zip
karmatic-master.zip 预估大小:45个文件
folder
karmatic-master 文件夹
file
package.json 2KB
folder
.github 文件夹
folder
workflows 文件夹
file
main.yml 363B
file
.prettierrc 119B
file
.prettierignore 45B
folder
e2e-test 文件夹
folder
webpack-default 文件夹
file
package.json 718B
folder
test 文件夹
file
jest-style.test.js 284B
file
combine.test.js 1KB
file
index.test.js 569B
file
custom-pragma.test.js 485B
folder
src 文件夹
file
index.js 736B
folder
rollup-default 文件夹
file
package.json 449B
folder
test 文件夹
file
jest-style.test.js 284B
file
combine.test.js 1KB
file
index.test.js 574B
file
custom-pragma.test.js 485B
folder
src 文件夹
file
index.js 736B
folder
webpack-loader 文件夹
file
fixture.worker.js 43B
file
index.js 173B
file
package.json 443B
file
index.test.js 380B
folder
rollup-custom 文件夹
file
rollup.config.js 441B
file
index.js 58B
file
package.json 590B
file
index.test.js 354B
folder
webpack-custom 文件夹
file
package.json 530B
folder
test 文件夹
file
index.test.js 354B
folder
src 文件夹
file
index.js 58B
file
webpack.config.js 377B
folder
default 文件夹
file
index.js 170B
file
package.json 354B
file
index.test.js 442B
folder
src 文件夹
file
index.js 667B
file
webpack.js 5KB
file
appender.js 284B
file
rollup.js 3KB
folder
lib 文件夹
file
css-loader.js 116B
file
util.js 4KB
file
babel.js 1KB
file
patch.js 863B
file
configure.js 6KB
file
cli.js 2KB
file
.gitignore 65B
file
README.md 4KB
folder
scripts 文件夹
file
run-e2e-tests.mjs 9KB
file
.editorconfig 236B
zip 文件大小:33.28KB