mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-18 02:00:53 +00:00
Fix bug in ABANDON_END
test
Change-Id: Ic0b6404630fde88ea7fe571a842950ec8c0c648f
This commit is contained in:
parent
53015b7237
commit
9e515f73e7
|
@ -523,6 +523,10 @@ QUnit.test( 'ABANDON_START', function ( assert ) {
|
||||||
} );
|
} );
|
||||||
|
|
||||||
QUnit.test( 'ABANDON_END', function ( assert ) {
|
QUnit.test( 'ABANDON_END', function ( assert ) {
|
||||||
|
let state = {
|
||||||
|
interaction: {}
|
||||||
|
};
|
||||||
|
|
||||||
let action = {
|
let action = {
|
||||||
type: actionTypes.LINK_DWELL,
|
type: actionTypes.LINK_DWELL,
|
||||||
el: this.link,
|
el: this.link,
|
||||||
|
@ -532,7 +536,7 @@ QUnit.test( 'ABANDON_END', function ( assert ) {
|
||||||
timestamp: Date.now()
|
timestamp: Date.now()
|
||||||
};
|
};
|
||||||
|
|
||||||
const state = eventLogging( state, action );
|
state = eventLogging( state, action );
|
||||||
|
|
||||||
action = {
|
action = {
|
||||||
type: actionTypes.ABANDON_END,
|
type: actionTypes.ABANDON_END,
|
||||||
|
|
Loading…
Reference in a new issue