NativeScript Unit Testing keep disconnecting

Viewed 172

Why tns test closes blank NativeScript app?

I have initialized a jasmine test from example in Unit Testing NativeScript Docs.

After I run

tns test android

First App launches and shows correct test pass screen, but after 4-5 seconds just closes and gives following error in shell.

DisconnectedClient disconnected from CONNECTED state (transport error)

All dependencies match the latest package versions :)

Things I have already tried:

  1. connecting over wi-fi and USB.
  2. two different android mobiles but they closed app after showing successful test screen
0 Answers
Related