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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for TSX sourcemaps #462

Closed
wants to merge 2 commits into from
Closed

Conversation

Princesseuh
Copy link
Member

@Princesseuh Princesseuh commented Jul 13, 2022

Changes

This adds some tests for the source maps generated when doing the TSX output. This also add a test for #461, though the "solution" in the test is an idealist one, I think

The expected offsets should be correct, however building failing tests is not super convenient 馃槄 A more extensive test suite for this is to run the tests from the language server's compiler output PR, if the sourcemaps are correct, all tests should pass

Testing

It's tests all the way down

Docs

N/A

@changeset-bot
Copy link

changeset-bot bot commented Jul 13, 2022

鈿狅笍 No Changeset found

Latest commit: e481d1a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Princesseuh Princesseuh changed the title Add tests for sourcemaps Add tests for TSX sourcemaps Jul 13, 2022
@natemoo-re natemoo-re mentioned this pull request Sep 22, 2022
@natemoo-re
Copy link
Member

Closing this in favor of #518

@natemoo-re natemoo-re closed this Sep 22, 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 this pull request may close these issues.

None yet

2 participants