committed by
dermotduffy
parent
9384785d37
commit
1cd5520154
@@ -144,7 +144,7 @@ describe('UpdatingImageMediaPlayerController', () => {
|
||||
it('should return screenshot URL with cached value controller', async () => {
|
||||
const url = 'data:image/png;base64,';
|
||||
const cachedValueController = mock<CachedValueController<string>>();
|
||||
Object.defineProperty(cachedValueController, 'value', { value: url });
|
||||
cachedValueController.getValue.mockReturnValue(url);
|
||||
|
||||
const controller = new UpdatingImageMediaPlayerController(
|
||||
createLitElement(),
|
||||
|
||||
Reference in New Issue
Block a user