ype: 'something-new'
        });

        // THEN: Should console.error about "no renderer".
        expect(consoleError).toHaveBeenCalledTimes(1);
        expect(consoleError.mock.calls[0][0]).toBeInstanceOf(Error);
        expect(consoleError.mock.calls[0][0].message).toBe('No renderer for activity of type "something-new"');

        // THEN: Should emit as exception event.
        const exceptionEvent = onTelemetry.mock.calls.find(call => call[0]?.type === 'exception');

        expect(exceptionEvent).to