Skip to content

Commit

Permalink
use response.text()
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Nov 7, 2023
1 parent 76569d9 commit 90bd9a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('Serve Greenwood With: ', function() {

before(async function() {
response = await fetch(`${hostname}/products/`);
data = await response.json();
data = await response.text();
productsPageDom = new JSDOM(data);
});

Expand Down

0 comments on commit 90bd9a0

Please sign in to comment.