Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
allouis committed Mar 11, 2024
1 parent e8147ec commit f8869f3
Showing 1 changed file with 2 additions and 6 deletions.
Expand Up @@ -26,13 +26,9 @@ describe.only('Local Storage Base', function () {
range: 'bytes=1000-999'
};

res.end = function () {
assert.equal(res.statusCode, 405);
done();
};

localStorageBase.serve()(req, res, (err) => {
done(err);
assert.equal(err.errorType, 'RangeNotSatisfiableError');
done();
});
});
});
Expand Down

0 comments on commit f8869f3

Please sign in to comment.