karma webpack,测试规范多次编译

时间:2017-08-08 02:30:33

标签: webpack karma-runner

我正在使用karma@1.7.0karma-webpack@2.0.4

唯一的测试规范文件是反复编译。日志如下。重复的时间不稳定。有时4-5次重复,另一次只运行一次并立即开始真正的测试。

Hash: 3ad43400d817448c3fc9
Time: 74ms
webpack: Compiled successfully.
webpack: Compiling...
Hash: f1892a1a824171232cb4
Time: 1009ms
chunk    {0} test/http-test.js (test/http-test.js) 397 kB [entry] [rendered]
webpack: Compiled successfully.
08 08 2017 10:21:03.869:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/
08 08 2017 10:21:03.871:INFO [launcher]: Launching browser Chrome with unlimited concurrency
08 08 2017 10:21:03.878:INFO [launcher]: Starting browser Chrome
webpack: Compiling...
Hash: f1892a1a824171232cb4
Time: 115ms
chunk    {0} test/http-test.js (test/http-test.js) 397 kB [entry]
webpack: Compiled successfully.
webpack: Compiling...
Hash: f1892a1a824171232cb4
Time: 138ms
chunk    {0} test/http-test.js (test/http-test.js) 397 kB [entry]
webpack: Compiled successfully.
webpack: Compiling...
Hash: f1892a1a824171232cb4
Time: 127ms
chunk    {0} test/http-test.js (test/http-test.js) 397 kB [entry]
webpack: Compiled successfully.
...

0 个答案:

没有答案