practicalmeteor / meteor-chai

Depreciated - Chai.JS, wrapped for meteor
https://atmospherejs.com/practicalmeteor/chai
Other
0 stars 10 forks source link

Need an update #6

Open eric-burel opened 8 years ago

eric-burel commented 8 years ago

Hi,

That would be great to update this repo with the last version of Chai. For example, the assert.approximately method is not present yet is very useful.

Would it require a lot of work ?

So far the alternative is to use directly the chai npm package : meteor npm install --save-dev chai Chai uses the buffer package (I don't know why), so we have to install it too : meteor npm install --save-dev buffer Then in the code we replace import { assert } from practicalmeteor:chai with import { assert } from chai.

javascriptlove commented 8 years ago

+1 for this, i need assert.oneOf and it's not present..

noahsw commented 8 years ago

What's wrong with using chai directly as you described?

eric-burel commented 8 years ago

Actually nothing, it simply make this package deprecated. Meteor seems to slowly go toward npm packages instead of Atmosphere packages whenever possible anyway.