I am setting up test environment for writing unit test cases using karma, mocha, chai.
When we try to run basic test cases i see a nativescript crash.
I am attaching following things
- Karma.conf file - karma configuration for mocha and chai to run on android emulator.
- Package.json - Application dependencies
- app/tests/setup.js - Initialisation of testbed
- app/tests/components/home.service.spec.ts - same test case
- crashCallStack - Details about the stack
Please help me to setup the test environment in proper way.