From 8dddaf5c764599ef90a18e30baf43196874245a1 Mon Sep 17 00:00:00 2001 From: juancarmore Date: Tue, 17 Jun 2025 15:44:59 +0200 Subject: [PATCH] test: update error message to include recording-url attribute requirement --- frontend/webcomponent/tests/unit/attributes.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/webcomponent/tests/unit/attributes.test.ts b/frontend/webcomponent/tests/unit/attributes.test.ts index d988e48..e0c05f0 100644 --- a/frontend/webcomponent/tests/unit/attributes.test.ts +++ b/frontend/webcomponent/tests/unit/attributes.test.ts @@ -35,7 +35,7 @@ describe('Web Component Attributes', () => { expect(iframe).toBeDefined(); expect(iframe?.src).toBeFalsy(); - expect(consoleErrorSpy).toHaveBeenCalledWith('The "room-url" attribute is required.'); + expect(consoleErrorSpy).toHaveBeenCalledWith('The "room-url" or "recording-url" attribute is required.'); consoleErrorSpy.mockRestore(); });