mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 19:10:51 +00:00
Migrate to stylistic
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -162,7 +162,11 @@ describe("VoiceBroadcastPlayback", () => {
|
||||
jest.spyOn(playback, "removeAllListeners");
|
||||
jest.spyOn(playback, "destroy");
|
||||
playback.on(VoiceBroadcastPlaybackEvent.StateChanged, onStateChanged);
|
||||
fakeTimers ? await flushPromisesWithFakeTimers() : await flushPromises();
|
||||
if (fakeTimers) {
|
||||
await flushPromisesWithFakeTimers();
|
||||
} else {
|
||||
await flushPromises();
|
||||
}
|
||||
return playback;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user