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

Stop unnecessarily running Rollup when running Demitasse tests. #202

Closed
wants to merge 1 commit into from

Conversation

12wrigja
Copy link
Contributor

@12wrigja 12wrigja commented Dec 8, 2022

No description provided.

@justingrant
Copy link
Contributor

Sorry @12wrigja I'm behind on reviews. Is the idea behind this PR that we don't use the rollup output in Demitasse tests so we can omit it? If yes, then do you know why we don't use that output? Wondering if we should be using the same bundled code for testing that we are publishing on npm?

@12wrigja
Copy link
Contributor Author

That is the idea - currently, the Node resolver will resolve to the transpiled JS that tsc outputs. I believe this is exactly the same as how the spec polyfill runs (ran?) their Demitasse tests.

We could use one of the build artifacts for Demitasse tests (the ESM build output is probably suitable here), but I don't think it's going to get us much besides testing that bundling works properly, unlike say the test262 tests that use the transpiled es5 output, which also catch problems in our transpilation setup.

I saw we had adopted matrixes in the test setup but haven't looked particularly carefully at them. I'll take a look and provide my thoughts there too soon.

@12wrigja
Copy link
Contributor Author

12wrigja commented Mar 4, 2023

Closing this as after some rebasing we don't really have very many Demitasse tests left, and this isn't really worth the effort to fix.

@12wrigja 12wrigja closed this Mar 4, 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