扫一扫分享
jest-puppeteer是MIT许可的开源项目。用Jest&Puppeteer Run运行你的测试
安装
# for jest 22~23
npm install --save-dev jest-puppeteer@3.9.0 puppeteer jest
# for jest 24+
npm install --save-dev jest-puppeteer puppeteer jest
需要Jest v22 + TypeScript用户另外安装@types/puppeteer,@types/jest-environment-puppeteer并且@types/expect-puppeteer
手机预览