Skip to content

Commit

Permalink
rewrite test for node-fetch 1
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Jul 19, 2020
1 parent c98f75b commit e0b574f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/server-specs/server-only.test.js
Expand Up @@ -50,7 +50,8 @@ describe('nodejs only tests', () => {
// bug referenced above creeps back in
await fm
.fetchHandler('http://www.wheresrhys.co.uk/assets/img/chaffinch.jpg')
.then((res) => res.blob());
// res.blob() woudl make more sense, but not supported by node-fetch@1
.then((res) => res.text());
});
});
});

0 comments on commit e0b574f

Please sign in to comment.