qhint:在 qUnit 中运行 jsHint 测试的例程

时间:2021-07-14 04:33:30
【文件属性】:
文件名称:qhint:在 qUnit 中运行 jsHint 测试的例程
文件大小:79KB
文件格式:ZIP
更新时间:2021-07-14 04:33:30
JavaScript qHint - 将 jsHint 集成到 qUnit 这个小脚本允许您将 jsHint 编码样式验证集成到您的 qUnit 单元测试中。 有关更多信息,请参阅博客文章 用法 在qhint.js之后和调用它之前包含qhint.js文件。 像这样调用jsHintTest函数: jsHintTest(*file* [, *options*, [*globals*]]); 或者,您可以命名测试: jsHintTest(*name*, *file* [, *options*, [*globals*]]); 您还可以使用相同函数的qHint()别名,具体取决于您的偏好。
【文件预览】:
qhint-master
----LICENSE.html(3KB)
----qunit()
----.gitmodules(74B)
----qhint.js(3KB)
----demo()
--------tests.html(1KB)
--------pass.js(108B)
--------fail.js(173B)
----test()
--------tests.html(5KB)
----README.md(776B)
----jshint-2.1.9.js(294KB)

网友评论