jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Chai config set threshold length #319

Closed bierik closed 9 years ago

bierik commented 9 years ago

I got teaspoon 0.8.0

According to http://chaijs.com/guide/styles/ it's possible to set the threshold length.

So I was trying to set:

chai.config.truncateThreshold = 0;

But I got no config object on chai.

In https://github.com/chaijs/chai/blob/1.9.1/lib/chai/config.js the config was introduced. So I guess the problem could be an outdated chai version (Current: 1.8.1). Are there any plans for updating chai. Or is it possible to update by myself?

jejacks0n commented 9 years ago

There's 1.10 in there. You can also add whatever support libraries you want.