mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +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 ) {
|
||||
let state = {
|
||||
interaction: {}
|
||||
};
|
||||
|
||||
let action = {
|
||||
type: actionTypes.LINK_DWELL,
|
||||
el: this.link,
|
||||
|
@ -532,7 +536,7 @@ QUnit.test( 'ABANDON_END', function ( assert ) {
|
|||
timestamp: Date.now()
|
||||
};
|
||||
|
||||
const state = eventLogging( state, action );
|
||||
state = eventLogging( state, action );
|
||||
|
||||
action = {
|
||||
type: actionTypes.ABANDON_END,
|
||||
|
|
Loading…
Reference in a new issue