MCPcopy Create free account
hub / github.com/ampproject/amphtml / onReject

Function onReject

test/unit/test-chunk.js:168–171  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

166 let done;
167
168 function onReject(event) {
169 expect(event.reason.message).to.match(/test async/);
170 done();
171 }
172
173 beforeEach(() => {
174 fakeWin = env.win;

Callers

nothing calls this directly

Calls 2

expectFunction · 0.85
doneFunction · 0.85

Tested by

no test coverage detected