test: update error message to include recording-url attribute requirement
This commit is contained in:
parent
fdc93e4f19
commit
8dddaf5c76
@ -35,7 +35,7 @@ describe('Web Component Attributes', () => {
|
|||||||
|
|
||||||
expect(iframe).toBeDefined();
|
expect(iframe).toBeDefined();
|
||||||
expect(iframe?.src).toBeFalsy();
|
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();
|
consoleErrorSpy.mockRestore();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user