fix(karma-dart-evalcache): make the code compatible with karma 0.13.x
This commit is contained in:
parent
2628631aff
commit
a649992ccd
|
@ -19,7 +19,7 @@ function createFactory(proxyPaths) {
|
|||
function dartEvalCacheFactory(emitter, logger, customFileHandlers) {
|
||||
var filesPromise = new common.PromiseContainer();
|
||||
emitter.on('file_list_modified', function(files) {
|
||||
filesPromise.set(files);
|
||||
filesPromise.set(Promise.resolve(files));
|
||||
});
|
||||
|
||||
var serveFile = common.createServeFile(fs);
|
||||
|
|
Loading…
Reference in New Issue