/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations * * To modify these typings, edit the source file(s): * test-helpers.js */ import {dom, flush} from '@polymer/polymer/lib/legacy/polymer.dom.js'; export {flushAsynchronousOperations}; /** * Forces distribution of light children, and lifecycle callbacks on the * Custom Elements polyfill. Used when testing elements that rely on their * distributed children. * */ declare function flushAsynchronousOperations(): void; export {forceXIfStamp}; /** * Stamps and renders a `dom-if` template. */ declare function forceXIfStamp(node: Element): void; export {fireEvent}; /** * Fires a custom event on a specific node. This event bubbles and is * cancellable. */ declare function fireEvent(type: string, props: object|null, node: Element): void; export {skipUnless}; /** * Skips a test unless a condition is met. Sample use: * function isNotIE() { * return !navigator.userAgent.match(/MSIE/i); * } * test('runs on non IE browsers', skipUnless(isNotIE, function() { * ... * }); */ declare function skipUnless(condition: Function|null, test: Function|null): any;