mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
arrow-IIFEs must be invoked outside of the parens
This commit is contained in:
parent
71732e770f
commit
b05662cd29
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ export default class MockClusterFork extends EventEmitter {
|
|||
dead = true;
|
||||
this.emit('exit');
|
||||
cluster.emit('exit', this, this.exitCode || 0);
|
||||
}());
|
||||
})();
|
||||
}),
|
||||
},
|
||||
isDead: sinon.spy(() => dead),
|
||||
|
@ -39,6 +39,6 @@ export default class MockClusterFork extends EventEmitter {
|
|||
await wait();
|
||||
dead = false;
|
||||
this.emit('online');
|
||||
}());
|
||||
})();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue