How to use nativescript-dev-appium and Jasmine in same project

appium
testing

#1

I have a NativeScript + Angular project with unit tests using Jasmine and Karma - the frameworks that come with the Angular project. I’d like to add Appium for UI testing, so I’ve followed the setup and installed nativescript-dev-appium and the needed dependencies.

The resulting setup uses Mocha, which clashes with Jasmine. I get “duplicate identifier” errors because of the duplicate typings, and now I have two frameworks that essentially serve the same purpose (as far as I understand it).

Is it possible to use Jasmine with Appium instead of Mocha? Or do I have to change my unit tests to use Mocha? What is the correct way to set this up?