-
Notifications
You must be signed in to change notification settings - Fork 80
test: add @webcontainer/test test cases
#72
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
test: add @webcontainer/test test cases
#72
Conversation
AriPerkkio
commented
Apr 16, 2025
- Add test cases for starters using https://github.com/stackblitz/webcontainer-test
96d9625 to
071cd24
Compare
c9073fc to
9eebb97
Compare
4904ef3 to
f261d2f
Compare
| app.replace('Hello from {{ name }}!', 'File edited') | ||
| ); | ||
|
|
||
| await preview.getByRole('heading', { level: 1, name: 'File edited' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love that these tests are also testing:
- A dev server running
- HMR working
So much done in so little 🤌
Nemikolh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a fantastic start to me 🤩
| // TODO: Enable once Expo works on WebContainer again | ||
| exclude: ['test/bolt-expo.test.ts'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
