Top "Karma-runner" questions

Karma provides developers a testing environment where they don't have to set up many things, rather just write code and get instant feedback in order to improve productivity and creativity.

npm check and update package if needed

We need to integrate Karma test runner into TeamCity and for that I'd like to give sys-engineers small script (powershell …

node.js teamcity npm karma-runner
Angular 1.6.0: "Possibly unhandled rejection" error

We have a pattern for resolving promises in our Angular app that has served us well up until Angular 1.6.0: resource.…

javascript angularjs karma-runner angular-promise angularjs-1.6
Karma: Running a single test file from command line

So, I've been looking all over for this, found "similar" answers here, but not exactly what I want. Right now …

javascript gruntjs gulp karma-runner karma-jasmine
Mocking AngularJS module dependencies in Jasmine unit tests

I'm attempting to unit test controller code inside a module that takes other modules as dependencies, but haven't been able …

unit-testing angularjs jasmine karma-runner
Running a single test file

Is there a way to run ng test for a single file instead of for the entire test suite? Ideally, …

angular jasmine angular-cli karma-runner
Testing service in Angular returns module is not defined

I am trying to run the default service unit test in my project (Taken from the Angular Seed project on …

unit-testing angularjs karma-runner
ReferenceError: module is not defined - Karma/Jasmine configuration with Angular/Laravel app

I have an existing Angular/Laravel app in which Laravel acts as an API to the angular frontend serving only …

javascript angularjs karma-runner karma-jasmine
NPM cannot install dependencies - Attempt to unlock something which hasn't been locked

I've been trying to run an npm install on my package.json file, but I'm having a lot of trouble. …

node.js npm karma-runner
Loading a mock JSON file within Karma+AngularJS test

I have an AngularJS app set up with tests using Karma+Jasmine. I have a function I want to test …

angularjs karma-runner
Testing whether certain elements are visible or not

How do I find out if an element is visible or hidden in testacular (jasmine)? My DOM looks like: <…

angularjs karma-runner