Skip to content

Commit

Permalink
fix(test): options passed incorrectly in test
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur committed Feb 28, 2020
1 parent b641bb6 commit d2f6cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('memoize-fs', function () {
})
it('should throw an error when opts.deserialize is not a function when passed', (done) => {
const fixture = () => {
memoizeFs({cachePath: FIXTURE_CACHE}).fn(() => {}, {deserialize: 123})
memoizeFs({cachePath: FIXTURE_CACHE, deserialize: 123}).fn(() => {})
}

assert.throws(fixture, Error)
Expand Down

0 comments on commit d2f6cb2

Please sign in to comment.