Questions tagged as 'karma-jasmine'

1
answer

My promise does not call then () on a karma test

I have a problem making mocks with promises for a test with karma: When I execute the "resolve (value)" of my promise, it does not jump to the then , does nothing, does not go to the "error", does not go to the "resolve" and the test is it r...
asked by 06.06.2018 / 17:22
1
answer

AngularJS with Karma, Node.js and Jasmine

Testing AngularJs with Karma, Node.js and Jasmine I get this error running scripts / test.bat on console. Chrome 48.0.2564 (Windows 7 0.0.0) ERROR Uncaught TypeError: Cannot read property 'module' of undefined What does it mean? I'm usin...
asked by 04.03.2016 / 03:39
0
answers

How to configure the Angular Automatic Test with Karma Jasmine and Webpack

I wanted to know how I can configure the tests of an app developed with Angular. Because it does not use angular-cli, but the configuration of the app is done completely through webpack, where it has configured the routes management with the ang...
asked by 29.05.2018 / 02:32