UNPKG

m.noop

Version:

noop utility from the m.icro series

14 lines (10 loc) 253 B
const {equal} = require('assert') test('exports.noop', () => { const {noop} = require('..') test('is callable', () => { equal(noop, Function.prototype) }) test('returns undefined when called', () => { equal(noop(), undefined) }) })