mirror of
https://gitee.com/layui/layui.git
synced 2025-10-15 18:55:04 +08:00
添加layui常用方法测试 (#57)
* 添加排序支持负数 * 添加 layui 内部方法的单元测试 * 修复代码风格 * 添加超时时间 * 删除 layui.img 200 http测试, 原因是加载哪个图都不合适 * 修复ie中测试用例兼容性
This commit is contained in:
@@ -72,6 +72,13 @@ module.exports = function (config) {
|
||||
// list of files to exclude
|
||||
exclude: [],
|
||||
|
||||
client: {
|
||||
mocha: {
|
||||
// mocha测试超时6秒
|
||||
timeout: 1000 * 6
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// preprocess matching files before serving them to the browser
|
||||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
||||
|
Reference in New Issue
Block a user