Skip to content
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

fix: support running in Node.js #24

Merged
merged 2 commits into from
Jul 9, 2022
Merged

fix: support running in Node.js #24

merged 2 commits into from
Jul 9, 2022

Conversation

kettanaito
Copy link
Member


it('returns cookies for the request with "include" credentials', () => {
const req = new Request('https://mswjs.io', {
credentials: 'include',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the missing test case that accessed document in Node.js.

@kettanaito kettanaito merged commit 5152e79 into main Jul 9, 2022
@kettanaito kettanaito deleted the fix/support-nodejs branch July 9, 2022 10:23
@kettanaito
Copy link
Member Author

Released: v0.2.2 🎉

This has been released in v0.2.2!

Make sure to always update to the latest version (npm i @mswjs/cookies@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support running in Node.js
1 participant