【文件属性】:
文件名称:mocha-flight:与Flight配合使用的Mocha测试框架的扩展
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-11 14:38:44
JavaScript
摩卡飞行
与配合使用的Mocha测试框架的扩展
安装
我们建议您使用 :
bower install --save-dev mocha-flight
另外,您可以在应用程序中包含并将其加载到测试运行器中。
NB摩卡飞行取决于
用法
这些示例使用断言库。
组件
describeComponent ( 'path/to/component' , function ( ) {
beforeEach ( function ( ) {
setupComponent ( ) ;
} ) ;
it ( 'should do x' , function ( ) {
// a component instance is now accessible as `this.component`
// the component root node is attached
【文件预览】:
mocha-flight-master
----.jshintrc(579B)
----.gitignore(30B)
----package.json(452B)
----LICENSE.md(1KB)
----karma.conf.js(1KB)
----.travis.yml(156B)
----CONTRIBUTING.md(5KB)
----CHANGELOG.md(425B)
----README.md(3KB)
----lib()
--------mocha-flight.js(7KB)
----bower.json(420B)
----test()
--------mock()
--------spec()
--------test-main.js(694B)