Skip to content

Commit

Permalink
revert changes to other test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sissbruecker committed Apr 25, 2022
1 parent 75f1b86 commit 7f259c2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/keyboard-navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -1912,14 +1912,13 @@
right();

const spy = sinon.spy();
function callback(e) {

grid.addEventListener('cell-focus', (e) => {
spy();
const context = e.target.getEventContext(e);
expect(context).to.deep.equal(expectedContext);
grid.removeEventListener('cell-focus', callback);
done();
}
grid.addEventListener('cell-focus', callback);
});

left();

Expand Down

0 comments on commit 7f259c2

Please sign in to comment.