1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 08:04:59 +02:00

Use cached noop function everywhere

This commit is contained in:
Rohit Sharma
2021-03-27 21:38:45 +05:30
committed by XhmikosR
parent 7b7f4a5ced
commit b2bc159d72
4 changed files with 7 additions and 7 deletions

View File

@@ -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')
})
})