* Skips the specified test, if it is being executed on iOS. This is necessary, because * programmatic scrolling inside the Karma iframe doesn't work on iOS, which renders these * tests unusable. For example, something as basic as the following won't work: * ``` * window.scroll(0, 100);
(spec: Function)
| 252 | * @param spec Test to be executed or skipped. |
| 253 | */ |
| 254 | function skipIOS(spec: Function) { |
| 255 | return () => { |
| 256 | if (!platform.IOS) { |
| 257 | spec(); |
| 258 | } |
| 259 | }; |
| 260 | } |
| 261 | }); |
| 262 | |
| 263 | /** Simple component that we can attach to the overlay. */ |
no outgoing calls
no test coverage detected