Skip to content

support context options? #136

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

Closed
cbbfcd opened this issue Apr 28, 2021 · 2 comments
Closed

support context options? #136

cbbfcd opened this issue Apr 28, 2021 · 2 comments

Comments

@cbbfcd
Copy link

cbbfcd commented Apr 28, 2021

hi 👋

as the svelte doc.

I haven't paid attention to the progress of the release about svelte, but it seems that context configuration is already supported.

const svleteComponentOptions = ['anchor', 'props', 'hydrate', 'intro'] // add 'context' ?
@cbxp
Copy link

cbxp commented Sep 21, 2021

Yes, please allow context. It's a simple change that will make testing with context much easier.

yanick added a commit to yanick/svelte-testing-library that referenced this issue Jan 24, 2022
For testing-library#136

Allows 'context' as one of the Svelte options.

Note that most of the changes are due to prettier and husky.
@yanick
Copy link
Collaborator

yanick commented Mar 15, 2022

The feature has been merged in, so closing issue.

@yanick yanick closed this as completed Mar 15, 2022
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 a pull request may close this issue.

3 participants