我觉得在Vim保存文件和Karma重新运行我的茉莉花单元测试之间,我遇到了一种竞争状态。下面是四个测试运行的序列,它演示了症状(我截断了错误日志中非常长的路径):
$ karma start karma.conf.js --auto-watch
[... snip a lot of coding and test running ...]
PhantomJS 1.6 (Linux) LOG: 'Running tests at 2013-08-14T08:19:57.252Z'
PhantomJS 1.6 (Linux): Executed 4 of 4 SUCCESS (0.