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

Add some simple tests and GH workflow #66

Merged
merged 6 commits into from
Nov 28, 2022
Merged

Add some simple tests and GH workflow #66

merged 6 commits into from
Nov 28, 2022

Conversation

andrewiggins
Copy link
Member

  • Add some simple tests for the preset (can be expanded on in the future)
  • Add a GH workflow to run the tests on PRs and push
  • Update some dependencies (ran npm audit fix)

"serves src/main.tsx",
wrap(async () => {
const mainURL = new URL("/src/main.tsx", devServerURL);
const res = await fetch(mainURL);
Copy link
Member Author

Choose a reason for hiding this comment

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

THE FUTURE! I'm using the new built-in NodeJS test runner and global fetch!! No dependencies <3

The test runner still has some bugs as mentioned in the code comments above, but still cool for simple situations like this!

@andrewiggins andrewiggins merged commit d0d9386 into main Nov 28, 2022
@andrewiggins andrewiggins deleted the add-workflow branch November 28, 2022 09:24
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.

None yet

2 participants