Questions tagged [chai]

Chai is an assertion library that can be used with any Javascript testing framework.

Filter by
Sorted by
Tagged with
3
votes
2answers
614 views

Should I use Jasmine/FrisbyJS or Mocha/Chai for testing of live API with Angular?

What I'm looking for in an answer Concrete relevant(newer?) examples of why one choice is better than the other OR, a concrete suggestion of why using a different language is the better choice over ...
1
vote
2answers
55 views

Using Chai, how can I assert the result of “git pull”

I am using Mocha and Chai.js to test a function which executes git pull in a Terminal and I want to assert that it results in Already up-to-date. How can I accomplish this? What is the best approach ...