amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

A4A Test Case silently failing

Open bradfrizzell opened this issue 9 years ago • 3 comments

resumeCallback w/ measure required no onLayoutMeasure within test-amp-a4a.js never actually gets inside its then block. All the expects etc within are never executed. This includes the use of .to.never.be.called, which is not valid as .never is not a part of the framework.

bradfrizzell avatar May 09 '17 18:05 bradfrizzell

I suspect that all of our tests that utilize a then block don't have any way of complaining if we never go inside the then block.

bradfrizzell avatar May 09 '17 18:05 bradfrizzell

Line 691 has to be returned.

jridgewell avatar May 09 '17 19:05 jridgewell

Fixed in #9244

keithwrightbos avatar May 10 '17 20:05 keithwrightbos