没有合适的资源?快使用搜索试试~ 我知道了~
ng-easy-inject:轻松将角度依赖性注入到单元测试中
共14个文件
js:6个
gitignore:1个
md:1个
需积分: 5 0 下载量 191 浏览量
2021-05-10
13:21:38
上传
评论
收藏 10KB ZIP 举报
温馨提示
ng-easy-inject 轻松将角度依赖性注入到单元测试中。 // or window.easyInject for non CJS users // who include a [removed] pointed at dist/ng-easy-inject.js var easyInject = require ( 'ng-easy-inject' ) ; describe ( 'injecting depedencies' , function ( ) { beforeEach ( easyInject ( '$http $q' ) ) ; it ( 'is surprisingly easy' , function ( ) { expect ( this . $http ) . to . respondTo ( 'get' ) ; } ) ; } ) ;
资源推荐
资源详情
资源评论
收起资源包目录
ng-easy-inject-master.zip (14个子文件)
ng-easy-inject-master
.travis.yml 49B
.eslintrc 888B
index.js 1KB
package.json 1KB
test
test-helper.js 213B
main.test.js 2KB
.mversionrc 306B
dist
easy-inject.js 2KB
ng-easy-inject.js 7KB
.gitignore 27B
karma.conf.js 964B
README.md 872B
.eslintignore 5B
.editorconfig 214B
共 14 条
- 1
资源评论
胡説个球
- 粉丝: 26
- 资源: 4613
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功