mercredi 19 juin 2019

How to use typescript in karma files

I am trying to provide some global function in my test cases, so that it will be available to all test cases.

I have created on function file in type script and added it in karma.config.ts file

files: [
      './util/index.ts'
    ],

my function file has some import and export function. but while running test cases it throwing error

Aucun commentaire:

Enregistrer un commentaire