Testing polymer 1.0 components with iron-ajax using wct
问题 I am having the hardest time mocking the server response to an iron-ajax component inside my custom component. Here is my code files. custom-component.html: <link rel="import" href="/iron-ajax/iron-ajax.html"> <link rel="import" href="/internal-component/internal-component.html"> <dom-module id="custom-component"> <template> <iron-ajax url="staticFile.json" auto handle-as="json" last-response={{ajaxResponse}}></iron-ajax> <template is="dom-repeat" items={{ajaxResponse}} sort="_sort" id=