bardjs
bardjs copied to clipboard
Spec helpers for testing angular v.1.x apps with Mocha, Jasmine and QUnit
Fixing missing space
Trying to use bardjs on my ionic project, when I run the tests I get: ReferenceError: Can't find variable: getinjectargs at /Users/mcarniatto/Dev/xmobile/www/lib/bardjs/dist/bard.js:291
Each property value of the config obj that is a non-function value can be created as a sinon stub. This makes it possible to dynamically configure the stub further while...
Fixes the 'Error: [$rootScope:inprog] $digest already in progress' to make it skip the unnecessary $digest cycle.
If you try to use mockService without the config you will get an error: ``` TypeError: Cannot read property '_default' of undefined at node_modules/bardjs/dist/bard.js:560:37 ``` The problem area is here...
I am trying to use `mockService` in my sinon-chai tests. It looked really helpful when I read the README file. However, I ran into several problems trying to use it,...
I wonder about following piece of code in `fakeStateProvider` https://github.com/wardbell/bardjs/blob/master/dist/bard.js#L404-L407 ``` // current: {}, // fake before each test as needed // state: {} // fake before each test as...
Hiya folks, I'm trying to create a unit test that checks if a GET request returns the correct amount of items, but I'm using mock data to do this. My...
So, I've also watched your unit testing course on Pluralsight and this is basically an identical question to [this](https://github.com/wardbell/bardjs/issues/7). I'm getting this error when running my tests: > [$injector:modulerr] Failed...
I have a similar issue to "cannot test my routes using bardjs #14' PhantomJS 1.9.8 (Mac OS X 0.0.0) UploadController "before each" hook for "should be created successfully" FAILED Error:...