Skip to content

Commit

Permalink
expect error (#16874)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyx authored and lannka committed Jul 19, 2018
1 parent 7067aae commit ee2ded0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/amp-analytics/0.1/test/test-requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ describes.realWin('Requests', {amp: 1}, env => {
analyticsMock, r, preconnect, spy, false);
// Overwrite batchPlugin function
handler.batchingPlugin_ = () => {throw new Error('test');};
expectAsyncConsoleError(/test/);
const expansionOptions = new ExpansionOptions({});
handler.send({}, {'extraUrlParams': {'e1': 'e1'}}, expansionOptions);
clock.tick(1000);
Expand Down

0 comments on commit ee2ded0

Please sign in to comment.