Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/tests
diff options
context:
space:
mode:
authorRohit Sharma <rohit2sharma95@gmail.com>2021-03-27 19:08:45 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-04-11 09:42:52 +0300
commitb2bc159d722a640b684f12a1171d70c8d5284b4e (patch)
tree051580f72867e0595199e1368737c95da8c32e6b /js/tests
parent7b7f4a5ced176ae3d7d9d16583795245cb9c7df3 (diff)
Use cached `noop` function everywhere
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/unit/util/index.spec.js4
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')
})
})