添加layui常用方法测试 (#57)

* 添加排序支持负数

* 添加 layui 内部方法的单元测试

* 修复代码风格

* 添加超时时间

* 删除 layui.img 200 http测试, 原因是加载哪个图都不合适

* 修复ie中测试用例兼容性
This commit is contained in:
前端小武
2017-09-02 19:09:08 +08:00
committed by 贤心
parent 102a7497bc
commit 179a188792
4 changed files with 344 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
*/
/* global layui */
/* eslint-disable max-nested-callbacks, fecs-indent */
var laytpl = layui.laytpl;
@@ -226,3 +227,4 @@ describe('laytpl', function () {
});
});
});
/* eslint-enable max-nested-callbacks, fecs-indent */