【文件属性】:
文件名称:gulp-mocha-phantomjs:使用PhantomJS运行客户端Mocha测试
文件大小:8KB
文件格式:ZIP
更新时间:2021-02-03 16:50:02
javascript gulp mocha phantomjs mocha-phantomjs
-mocha-phantomjs
使用运行客户端测试
库的简单包装
警告
该项目不再维护。
安装
节点
$ npm install gulp-mocha-phantomjs --save-dev
用法
<!DOCTYPE html >
< html >
< head >
< title > Mocha </ title >
< meta http-equiv =" Content-Type " content =" text/html; charset=UTF-8 " >
< meta name =" viewport " content =" width=device-width, initial-scale=1.0 " >
< link rel =" stylesheet " href =" ../node_modules/mocha/mocha.css " />
</ head >
< body >
< script src =" ../node_modules/should
【文件预览】:
gulp-mocha-phantomjs-master
----.jshintrc(618B)
----extend.js(343B)
----.npmignore(71B)
----.travis.yml(59B)
----gulpfile.js(1KB)
----test()
--------fixture-fail.html(777B)
--------test.js(5KB)
--------fixture-pass.html(2KB)
----README.md(3KB)
----appveyor.yml(226B)
----.gitignore(13B)
----index.js(3KB)
----package.json(1009B)