Skip to content

Commit 6e5082a

Browse files
committed
【fix】修改测试配置文件,测试不开启随机, 暂时避免不规范的测试挂掉的问题,测试待优化
1 parent e662da4 commit 6e5082a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/karma.conf.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ module.exports = function (config) {
1313
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
1414
frameworks: ['jasmine', 'browserify'],
1515

16+
client: {
17+
jasmine: {
18+
random: false
19+
}
20+
},
21+
1622
browserify: {
1723
debug: true,
1824
transform: [
1925
[require('babelify'), {
2026
presets: ["@babel/preset-env"],
21-
ignore: ["../src/classic/libs/**","../test/libs/**"],
27+
ignore: ["../src/classic/libs/**", "../test/libs/**"],
2228
plugins: ['istanbul']
2329
}],
24-
[require('browserify-css'), {global: true}],
30+
[require('browserify-css'), { global: true }],
2531
require('browserify-imgify')
2632
]
2733
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy