File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import { TestScope } from 'cavy' ;
2- import { AdEventType , PlayerEventType , AdEvent } from 'react-native-theoplayer' ;
2+ import { AdEvent , AdEventType , PlayerEventType } from 'react-native-theoplayer' ;
33import { getTestPlayer } from '../components/TestableTHEOplayerView' ;
44import { waitForPlayerEvents , waitForPlayerEventTypes } from '../utils/Actions' ;
55import { TestSourceDescription , TestSources } from '../utils/SourceUtils' ;
@@ -18,6 +18,9 @@ export default function (spec: TestScope) {
1818 { type : PlayerEventType . AD_EVENT , subType : AdEventType . AD_BEGIN } as AdEvent ,
1919 ] ) ;
2020
21+ // TEMP
22+ player . addEventListener ( Object . values ( PlayerEventType ) , consle . log ) ;
23+
2124 // Start autoplay
2225 player . autoplay = true ;
2326 player . source = testSource . source ;
You can’t perform that action at this time.
0 commit comments