From d2f6cb25188e3b33700647d789692dae3b66ec23 Mon Sep 17 00:00:00 2001 From: borisdiakur Date: Fri, 28 Feb 2020 18:33:28 +0100 Subject: [PATCH] fix(test): options passed incorrectly in test --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index b0f04c7..dc83f33 100644 --- a/test/test.js +++ b/test/test.js @@ -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)