()
| 23 | } |
| 24 | |
| 25 | export function clearPage(): void { |
| 26 | let newPage = getCurrentPage(); |
| 27 | if (!newPage) { |
| 28 | throw new Error('NO CURRENT PAGE!!!!'); |
| 29 | } |
| 30 | |
| 31 | newPage.style.backgroundColor = unsetValue; |
| 32 | newPage.style.color = unsetValue; |
| 33 | newPage.bindingContext = unsetValue; |
| 34 | newPage.className = unsetValue; |
| 35 | newPage.id = unsetValue; |
| 36 | } |
| 37 | |
| 38 | export function do_PageTest(test: (views: [Page, View, View, View, ActionBar]) => void, content: View, secondView: View, thirdView: View) { |
| 39 | clearPage(); |
no test coverage detected