Skip to content

Unit testing: tns test android command hangs #1401

@unlight

Description

@unlight

Executing tns test android hangs and does not end.
I have example unit test, generated by tns test init (jasmine), according to this https://docs.nativescript.org/core-concepts/testing

describe("Hello World Sample Test:", function() {
  it("Check counter.", function() {
    expect(42).toEqual(42);
  });
});

When I execute command, after preparing and syncing, I see blue screen with message

Found karma at 10.11.11.156

And that's it. Nothing happens.
Console output:

Successfully transferred all project files.                                               
Applying changes...                                                                       
Successfully synced application org.nativescript.yesorno at Jan 18, 2016 5:51:27 PM.

Environment:
nativescript: 1.5.2
emulator: genymotion
node: 5.3.0
OS: Win64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions