-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide chai assertions #7
Comments
Thanks for the contribution @pYr0x. I think I'd rather just add a link in the README to https://github.com/nathanboktae/chai-dom 👍 |
Would you be willing to add that? |
I would like to add this in readme |
I wonder if it makes sense to extract the jest custom matchers into their own package as well 🤔. |
Yes, I've been considering this. I think it would be a good idea 👍 |
I actually started doing it on my own after commenting this, cause I wanted an excuse to play around with kcd-scripts and the yeoman generator :) |
I did end up extracting the matchers here into a library I called jest-dom. It's not yet on npm or anything because I just started it as an excuse to learn to setup a library (kcd-scripts makes it so easy!) but if it looks ok I'd be happy to provide it (@kentcdodds I gave you access in it but we can also move it here if you prefer). On the same vein, I wonder if this all could be under a parent repository of multiple packages (something I also want to learn to setup, much like |
Thanks for doing that! As soon as you've got that published, then please feel free to open a PR to this repo to have it use that instead (probably only need to update On the mono-repo idea. I'm sure it'd be great. Here are some of the problems I have with that approach:
So for now I don't have time to investigate how to overcome these problems I'm afraid :-/ |
Yes sure, I wasn't even sure my self how would it work. In any case I think the org was a better idea than the mono repo, but probably also not really needed. Will proceed with publishing the other repo. Do you mind giving a quick intro about that "automatic releases" thing you mentioned? If I used kcd-scripts in jest-dom, is there anything to be aware of about publishing it now and when it is updated in the future? |
In your project (clean, git-wise), run:
Follow the prompts (use "Travis"). It'll make changes to your project, go ahead and You can also watch this (a bit dated) video that includes the process (without kcd-scripts): http://kcd.im/write-oss |
🎉 This issue has been resolved in version 1.5.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
* feat(typings): add ts definitions * chore(contributors): add myself
* feat(typings): add ts definitions * chore(contributors): add myself
Would be nice to have chai assertions within this library
The text was updated successfully, but these errors were encountered: