Skip to content

Commit a9187b7

Browse files
newapxrigor789
authored andcommitted
fix: return mounted component (#132)
Make sure to return the mounted component, so we can use it in unit tests.
1 parent 1fd7c81 commit a9187b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/nativescript/runtime/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const mount = function(el, hydrating) {
5959
}
6060
})
6161
} else {
62-
mountComponent(this, el, hydrating)
62+
return mountComponent(this, el, hydrating)
6363
}
6464
}
6565

0 commit comments

Comments
 (0)