()
| 64 | TKUnit.assertEqual(loaded, 0); |
| 65 | |
| 66 | const pageFactory2 = function (): Page { |
| 67 | page2 = new Page(); |
| 68 | page2.id = `page2_test_PageLoaded_is_called_once`; |
| 69 | addLabelToPage(page2, 'Page 2'); |
| 70 | page2.on(Label.loadedEvent, handler); |
| 71 | |
| 72 | return page2; |
| 73 | }; |
| 74 | |
| 75 | helper.navigate(pageFactory2); |
| 76 |
nothing calls this directly
no test coverage detected