diff options
author | Rohit Sharma <rohit2sharma95@gmail.com> | 2021-03-27 19:08:45 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2021-04-11 09:42:52 +0300 |
commit | b2bc159d722a640b684f12a1171d70c8d5284b4e (patch) | |
tree | 051580f72867e0595199e1368737c95da8c32e6b /js/tests | |
parent | 7b7f4a5ced176ae3d7d9d16583795245cb9c7df3 (diff) |
Use cached `noop` function everywhere
Diffstat (limited to 'js/tests')
-rw-r--r-- | js/tests/unit/util/index.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/util/index.spec.js b/js/tests/unit/util/index.spec.js index 41c1ce2b80..5d144348e4 100644 --- a/js/tests/unit/util/index.spec.js +++ b/js/tests/unit/util/index.spec.js @@ -477,8 +477,8 @@ describe('Util', () => { }) describe('noop', () => { - it('should return a function', () => { - expect(typeof Util.noop()).toEqual('function') + it('should be a function', () => { + expect(typeof Util.noop).toEqual('function') }) }) |