summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.yml1
-rw-r--r--installed-tests/js/testEverythingBasic.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 9e5b5d1c..08482876 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -69,6 +69,7 @@ rules:
no-empty:
- error
- allowEmptyCatch: true
+ no-extra-bind: error
no-implicit-coercion:
- error
- allow:
diff --git a/installed-tests/js/testEverythingBasic.js b/installed-tests/js/testEverythingBasic.js
index 76c3397c..c61f13f1 100644
--- a/installed-tests/js/testEverythingBasic.js
+++ b/installed-tests/js/testEverythingBasic.js
@@ -247,7 +247,7 @@ describe('Life, the Universe and Everything', function () {
spyOn(testObj, 'test').and.callThrough();
expect(Regress.test_callback_destroy_notify(function () {
return testObj.test(42);
- }.bind(testObj))).toEqual(42);
+ })).toEqual(42);
expect(testObj.test).toHaveBeenCalledTimes(1);
expect(Regress.test_callback_thaw_notifications()).toEqual(42);
});