Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use jest on karma?

I want to use jest framework. So in karma.conf file i have included jest in the framework field. But it is giving error "WARN [reporter]: Can not load "jest", it is not registered!" when i run karma start. I have included the jest package( "jest": "~0.1.39", "jest-cli": "~0.4.1") in the dependencies of package.json file.

Can someone give me some example for using jest in karma?

like image 850
Neha Gupta Avatar asked May 06 '15 08:05

Neha Gupta


1 Answers

According this issue https://github.com/facebook/jest/issues/139 it is not trivial to run jest in real browser.

like image 121
x'ES Avatar answered Sep 30 '22 23:09

x'ES