From 56ddf95eb7581d41c1fbb74b9b9e03eee55c3214 Mon Sep 17 00:00:00 2001 From: hansemannn Date: Mon, 5 Apr 2021 11:11:53 +0200 Subject: [PATCH] fix: remove unused event --- tests/Resources/ti.ui.textfield.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Resources/ti.ui.textfield.test.js b/tests/Resources/ti.ui.textfield.test.js index b24db1d6209..b826cc1383f 100644 --- a/tests/Resources/ti.ui.textfield.test.js +++ b/tests/Resources/ti.ui.textfield.test.js @@ -412,7 +412,7 @@ describe('Titanium.UI.TextField', () => { win.addEventListener('postlayout', function listener () { win.removeEventListener('postlayout', listener); textField.setSelection(0, 5); - setTimeout(function (e) { + setTimeout(function () { try { should(textField.selection.length).eql(5); should(textField.selection.location).eql(0);