The task of setting up karma / jasmine with Angular

I'm trying to follow the instructions here and here to configure Karma and Jasmine to test with my Angular project, but keep getting the following error:

Uncaught TypeError: cannot read property http: // localhost: 9876 'from undefined at / usr / local / lib / node_modules / karma-jasmine / lib / adapter.js: 44

Think what the problem is? I am new to using karma and jasmine. Thanks in advance!

+4
source share
1 answer

Windows 10 Karma v0.13.16 ( ). karma karma-chrome-launcher . , karma-jasmine. ,

npm install karma-jasmine -g
0

Source: https://habr.com/ru/post/1606357/


All Articles