delpher / BasicJSDev

Basic JS development environment
0 stars 0 forks source link

Problem with Unit Test #1

Open meenanarendra opened 5 years ago

meenanarendra commented 5 years ago

Hi Alex, I watched your video on youtube for Unit Testing JavaScript in ASP.NET MVC with Jasmine and Karma.

I followed the exact same steps that you have mentioned but i am getting below error. I am not sure why the requirejs is not picking up app,js and app.specs.js file.

Can you help me with this?

22 10 2019 14:41:44.973:WARN [karma]: No captured browser, open http://localhost:9876/ 22 10 2019 14:41:45.050:INFO [karma-server]: Karma v4.4.1 server started at http://0.0.0.0:9876/ 22 10 2019 14:41:45.053:INFO [launcher]: Launching browsers Chrome with concurrency unlimited 22 10 2019 14:41:45.065:INFO [launcher]: Starting browser Chrome 22 10 2019 14:41:47.207:INFO [Chrome 77.0.3865 (Windows 10.0.0)]: Connected on socket KXqUMEpq7-F2h4GrAAAA with id 19434510 Chrome 77.0.3865 (Windows 10.0.0): Executed 0 of 0 SUCCESS (0.007 secs / 0 secs) TOTAL: 0 SUCCESS

delpher commented 5 years ago

Hi! Looks like it starts fine, but doesn't finds any tests. I've noticed, that you use *.specs.js* file naming, and in my video I'm using .spec.js**. Please check if you have correct patterns configured in "files" in karama.conf.js

Please, let me know if that helped and if you need any further help.