diff options
author | Vladislav Zarakovsky <vlad.zar@gmail.com> | 2016-03-12 17:50:35 +0300 |
---|---|---|
committer | Vladislav Zarakovsky <vlad.zar@gmail.com> | 2016-03-12 17:50:35 +0300 |
commit | a8823bd996e7e2b713991a75b8fe267994b34981 (patch) | |
tree | 7ead1492d7dc2df7d1217edfb80b166ab6330b1b /test/api/selectSpec.js | |
parent | d276bb2ee7fe68d020bd4ba0da3b5677f3e649e2 (diff) | |
download | awesomplete-a8823bd996e7e2b713991a75b8fe267994b34981.zip awesomplete-a8823bd996e7e2b713991a75b8fe267994b34981.tar.gz awesomplete-a8823bd996e7e2b713991a75b8fe267994b34981.tar.bz2 |
Remove redundant evt.data, it's same at evt.text
Agreed in https://github.com/LeaVerou/awesomplete/issues/16821#issuecomment-185901377
Diffstat (limited to 'test/api/selectSpec.js')
-rw-r--r-- | test/api/selectSpec.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/api/selectSpec.js b/test/api/selectSpec.js index 9a1214e..1117341 100644 --- a/test/api/selectSpec.js +++ b/test/api/selectSpec.js @@ -47,7 +47,6 @@ describe("awesomplete.select", function () { expect(handler).toHaveBeenCalledWith( jasmine.objectContaining({ text: jasmine.objectContaining({ label: expectedTxt, value: expectedTxt }), - data: jasmine.objectContaining({ label: expectedTxt, value: expectedTxt }), origin: this.selectArgument || this.subject.ul.children[0] }) ); |