MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / setUp

Function setUp

apps/automated/src/debugger/dom-node-tests.ts:80–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80export function setUp(): void {
81 if (isAndroid) {
82 originalInspectorGlobal = global.__inspector;
83 currentInspector = getTestInspector();
84 global.__inspector = currentInspector;
85 } else {
86 let domInspector = getIOSDOMInspector();
87 currentInspector = getTestInspector();
88 domInspector.events = currentInspector;
89 }
90}
91
92export function tearDown(): void {
93 if (isAndroid) {

Callers

nothing calls this directly

Calls 2

getTestInspectorFunction · 0.85
getIOSDOMInspectorFunction · 0.85

Tested by

no test coverage detected