Comments (4)
Hey @jakubzitny, thanks for bringing that up!
As a matter of fact, I have used chai-immutable with chai-as-promised before. Look at this test for example. Note however that this relies on chai-as-promised being loaded after chai-immutable (or any other plugins you want to "promisify", for that matter), as shown at the beginning.
Could you confirm this answers your issue? Do you see anything we can add to chai-immutable in this regard?
from chai-immutable.
Hi, thanks for the reply :)
It really works when I load chai-as-promised at the end, great. Actually I did think about this but somehow I forgot to try loading it like this. Maybe it would help to mention it in the Installation part of README. Also some examples of chai-immutable with other plugins could be helpful.
from chai-immutable.
Thanks @jakubzitny, I'll add a mention about loading chai-immutable before chai-as-promised in the README of this project, although I believe this has more its place in the README of chai-as-promised.
I won't come up with examples of using with other plugins as I'm not using any myself, but I'd be happy to discuss such examples here before adding them to the README :-)
from chai-immutable.
I have added a paragraph in the doc and submitted it as a PR (#38) so that you can tell me what you think before merging it. See you there!
from chai-immutable.
Related Issues (20)
- Add support for custom messages HOT 1
- Support reference comparison HOT 8
- [email protected]" has incorrect peer dependency "immutable@^3.0.0". HOT 4
- latest immutablejs support(Is this library even alive?) HOT 5
- Dependency Dashboard
- Publish new version! HOT 3
- Replace JSCS with ESLint
- Use ES6 in the documentation HOT 1
- `not` in assertions is ignored HOT 4
- Publish version HOT 3
- App crash if receive an REMOTE_WIDGET_DRAGGING or UPDATE_WIDGET before mural is fully loaded HOT 2
- Add `.deep.include` for deep equality comparisons
- Add support for deep flag for the keys assertion
- Drop support of Node v0.10 and v0.12
- Support Chai v4's `.deep.property`
- Write comprehensive tests for `.not.property` HOT 2
- Feature request: comparison of Maps via include HOT 3
- npm WARN [email protected] requires a peer of chai@>= 2.0.0 < 4 but none was installed. HOT 9
- Investigate potential remaining items for Chai v4 support HOT 8
- Cannot find module 'immutable' HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chai-immutable.