diff options
| author | Rohit Sharma <[email protected]> | 2021-03-27 21:38:45 +0530 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-04-11 09:42:52 +0300 |
| commit | b2bc159d722a640b684f12a1171d70c8d5284b4e (patch) | |
| tree | 051580f72867e0595199e1368737c95da8c32e6b /js/tests/unit | |
| parent | 7b7f4a5ced176ae3d7d9d16583795245cb9c7df3 (diff) | |
| download | bootstrap-b2bc159d722a640b684f12a1171d70c8d5284b4e.tar.xz bootstrap-b2bc159d722a640b684f12a1171d70c8d5284b4e.zip | |
Use cached `noop` function everywhere
Diffstat (limited to 'js/tests/unit')
| -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 41c1ce2b8..5d144348e 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') }) }) |
