UNPKG

jacob-zuma

Version:

South African flavored no operation as a module

16 lines (12 loc) 266 B
/* eslint-env jest */ 'use strict' import noop from './src' test('should be function', () => { expect(noop).toBeDefined() expect(typeof noop).toBe('function') }) test('should do nothing', () => { const fn = jest.fn(noop) fn() expect(fn).toBeCalled() })