mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
wip: unit test fixes continued
This commit is contained in:
@@ -74,9 +74,9 @@ describe('memoize', () => {
|
||||
});
|
||||
|
||||
it('should throw a TypeError if `resolve` is truthy and not a function', () => {
|
||||
assert.throws(() => {
|
||||
expect(() => {
|
||||
memoize(noop, true);
|
||||
}, TypeError);
|
||||
}).toThrowError(TypeError);
|
||||
});
|
||||
|
||||
it('should not error if `resolver` is nullish', () => {
|
||||
|
||||
Reference in New Issue
Block a user