Hi @obber, me again. Found another addition for a test to check if n is less than 0.
it("should not allow an n less than 0", function () {
const fn = jest.fn();
expect(function () {
lodasher.after(-1, fn);
}).toThrow();
expect(function () {
lodasher.after(-1000, fn);
}).toThrow();
});
Also added an example to the definition in index.js:
Hi @obber, me again. Found another addition for a test to check if n is less than 0.
Also added an example to the definition in
index.js
: