Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
henel677 committed Jul 24, 2020
1 parent 4f5b0db commit 7f7c927
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,6 @@ describes.realWin('AmpFetcher', {amp: true}, (env) => {

fetcher.sendBeacon(sentUrl, sentMessage);
});

it('should send a post', async () => {
env.sandbox.stub(xhr, 'fetch').callsFake((url, init) => {
expect(url).to.equal(sentUrl);
expect(init).to.deep.equal({
method: 'POST',
headers: {'Content-Type': contentType},
credentials: 'include',
body: expectedBodyString,
});
return Promise.resolve({});
});

fetcher.sendPost(sentUrl, sentMessage);
});
});

describes.realWin('amp-subscriptions-google', {amp: true}, (env) => {
Expand Down

0 comments on commit 7f7c927

Please sign in to comment.