);
        expect(utterance2.onresume).toHaveBeenCalledTimes(0);
        expect(utterance2.onstart).toHaveBeenCalledTimes(1);

        speechSynthesis.pause();

        expect(speechSynthesis.paused).toBe(true);
        expect(speechSynthesis.pending).toBe(false);
        expect(speechSynthesis.speaking).toBe(false);

        const utterance3 = new SpeechSynthesisUtterance('Good morning!');

        utterance3.onend = fn();
        utterance3.onpause = fn();
        utterance3.onresume = fn();
        utter