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

tests: vitest #849

Merged
merged 5 commits into from
Apr 3, 2024
Merged

tests: vitest #849

merged 5 commits into from
Apr 3, 2024

Conversation

kellyjosephprice
Copy link
Collaborator

@kellyjosephprice kellyjosephprice commented Apr 2, 2024

PR App Fix RM-XYZ

🧰 Changes

Ports our test suite to vitest!

This mostly just adds the configuration and skips any tests that aren't passing already. I also deleted any magic block tests! 😃

image

It does not convert the browser tests to vitest. I'd like to get them all passing before we do that???

🧬 QA & Testing

@kellyjosephprice kellyjosephprice changed the base branch from next to beta April 2, 2024 20:20
Comment on lines +109 to +120
exports[`export multiple Markdown renderers > allows complex compact headings 1`] = `undefined`;

exports[`export multiple Markdown renderers > renders HTML 1`] = `undefined`;

exports[`export multiple Markdown renderers > renders MD 1`] = `
"# Hello World
"
`;

exports[`export multiple Markdown renderers > renders custom React components 1`] = `[Function]`;

exports[`export multiple Markdown renderers > renders hAST 1`] = `undefined`;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Something is wrong with these tests. Not sure where the snapshots were????

@kellyjosephprice kellyjosephprice marked this pull request as ready for review April 2, 2024 23:10
@erunion
Copy link
Member

erunion commented Apr 3, 2024

you should also update this extends bit in the test .eslintrc file to use @readme/eslint-config/testing/vitest too

"extends": "@readme/eslint-config/testing/jest",

Copy link
Member

@trishaprile trishaprile left a comment

Choose a reason for hiding this comment

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

😮

Copy link
Contributor

@jennspencer jennspencer left a comment

Choose a reason for hiding this comment

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

noice!

@kellyjosephprice kellyjosephprice merged commit b40b8fd into beta Apr 3, 2024
4 of 5 checks passed
@kellyjosephprice kellyjosephprice deleted the test/vitest branch April 3, 2024 18:17
@kellyjosephprice kellyjosephprice mentioned this pull request Jul 9, 2024
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.

4 participants