wip: unit test fixes continued

This commit is contained in:
jdalton
2023-09-21 07:45:49 -07:00
parent bd518dd906
commit a79c5c434c
14 changed files with 66 additions and 77 deletions

View File

@@ -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', () => {