Skip to content

Commit

Permalink
add cb to test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed Oct 23, 2023
1 parent 7e1dc02 commit 325be82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/utils/safeList.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ describe('test safeListObjectVersions', () => {
});
});

it('should pass through original error if the XML fails to parse', () => {
it('should pass through original error if the XML fails to parse', done => {
const error = new Error('im an original error');
const resp = {
httpResponse: {
Expand All @@ -300,6 +300,7 @@ describe('test safeListObjectVersions', () => {
recoverListing(resp, (err, data) => {
expect(err).toStrictEqual(error);
expect(data).toStrictEqual(undefined);
done();
});
});
});

0 comments on commit 325be82

Please sign in to comment.