Fix bug in ABANDON_END test

Change-Id: Ic0b6404630fde88ea7fe571a842950ec8c0c648f
This commit is contained in:
Shreyas Minocha 2018-12-08 11:16:24 +05:30
parent 53015b7237
commit 9e515f73e7
No known key found for this signature in database
GPG key ID: 4241DA70163780BD

View file

@ -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,