Skip to content

Conversation

jasonlyu123
Copy link
Member

For #586. Also bumping to jest 29 because ts-jest 27 doesn't support TypeScript 5

Before submitting the PR, please make sure you do the following

  • It's really useful if your PR relates to an outstanding issue, so please reference it in your PR, or create an explanatory one for discussion. In many cases features are absent for a reason.
  • This message body should clearly illustrate what problems it solves. If there are related issues, remember to reference them.
  • Ideally, include a test that fails without this PR but passes with it. PRs will only be merged once they pass CI. (Remember to run pnpm lint!)

Tests

  • Run the tests with npm test or pnpm test

@@ -5,6 +5,9 @@ module.exports = {
'<rootDir>/src/**/*.ts',
'!<rootDir>/src/types/**/*.ts',
],
snapshotFormat: {
escapeString: true,
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 is because of the breaking in jest 29. https://jestjs.io/docs/upgrading-to-jest29#snapshot-format. Alternatively, we can adjust the expectations for the effect test.

@dummdidumm dummdidumm merged commit a80dd35 into sveltejs:main Mar 17, 2023
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.

2 participants