mirror of https://github.com/abpframework/abp.git
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||
|
import { noop } from '../utils'; |
||||
|
|
||||
|
describe('CommonUtils', () => { |
||||
|
describe('#noop', () => { |
||||
|
test('should return empty fn', () => { |
||||
|
expect(typeof noop()).toBe('function'); |
||||
|
expect(noop()()).toBeUndefined(); |
||||
|
}); |
||||
|
}); |
||||
|
}); |
||||
Loading…
Reference in new issue