当我们使用web-component-tester (wct)测试我们的聚合物元素时,我们得到了许多404个警告,这些警告似乎不会影响测试,但很烦人,例如
firefox 37 ✓ app/elements/twt-comment/test/basic.html » twt-comment » should render the information provided in the `comment.author` binding
404 GET /app/elements/twt-comment/test/undefined有人见过这些吗?它们似乎不是来自我们自己的代码,而我在遵循wct代码时遇到了问题。我想试着摆脱它们。
发布于 2015-06-19 01:46:24
通过在Chrome开发工具中调试测试并查看404请求的引用,我们发现我们的一个子元素引用了一个无效的图像URL。很抱歉报了假警报。
https://stackoverflow.com/questions/30879854
复制相似问题