diff --git a/tests/lib/util/noop.js b/tests/lib/util/noop.js new file mode 100644 index 0000000..b9eda26 --- /dev/null +++ b/tests/lib/util/noop.js @@ -0,0 +1,9 @@ +var tape = require("tape") + +var noop = require("../../../lib/util/noop") + +tape("test noop function", function(t) { + t.equal(typeof noop, "function", "noop is a function") + t.equal(noop(), undefined, "noop() returns nothing") + t.end() +})