Optimise Jest run in CI (#9542)
This commit is contained in:
parent
28ecdc0cb4
commit
04bc8fb71c
55 changed files with 1388 additions and 1305 deletions
|
@ -199,7 +199,7 @@ describe("VoiceMessageRecording", () => {
|
|||
|
||||
describe("getPlayback", () => {
|
||||
beforeEach(() => {
|
||||
mocked(Playback).mockImplementation((buf: ArrayBuffer, seedWaveform) => {
|
||||
mocked(Playback).mockImplementation((buf: ArrayBuffer, seedWaveform): any => {
|
||||
expect(new Uint8Array(buf)).toEqual(testBuf);
|
||||
expect(seedWaveform).toEqual(testAmplitudes);
|
||||
return {} as Playback;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue