thesis.paused).toBe(false);
        expect(speechSynthesis.pending).toBe(false);
        expect(speechSynthesis.speaking).toBe(true);
        expect(utterance1.onend).toHaveBeenCalledTimes(0);
        expect(utterance1.onpause).toHaveBeenCalledTimes(0);
        expect(utterance1.onresume).toHaveBeenCalledTimes(0);
        expect(utterance1.onstart).toHaveBeenCalledTimes(1);

        const utterance2 = new SpeechSynthesisUtterance('Aloha!');

        utterance2.onend = fn();
        utterance2.onpause = fn()