unction () {
        const speechSynthesis = new SpeechSynthesis();

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

        const utterance1 = new SpeechSynthesisUtterance('Hello, World!');

        utterance1.onend = fn();
        utterance1.onpause = fn();
        utterance1.onresume = fn();
        utterance1.onstart = fn();

        speechSynthesis.speak(utterance1);

        expect(speechSyn