Skip to content

Exclude import() tests from pubilsh build#10995

Merged
nicolo-ribaudo merged 1 commit intobabel:masterfrom
nicolo-ribaudo:publish-tests-dyn-import
Jan 15, 2020
Merged

Exclude import() tests from pubilsh build#10995
nicolo-ribaudo merged 1 commit intobabel:masterfrom
nicolo-ribaudo:publish-tests-dyn-import

Conversation

@nicolo-ribaudo
Copy link
Copy Markdown
Member

Q                       A
Fixed Issues? Broken publish script
Tests Added + Pass? 😢
License MIT

Commit message:

I really don't like this commit, but import() is currently breaking our publish script.
When "normal" tests we are transpiling import() so that it works with Jest. We can't do it while publishing because we need to publish the untranspiled import() so that it can load real .mjs files.

Follow up to #10903

Note that we are still running those tests in every other commit; I'm just disabling them when publishing.

@nicolo-ribaudo nicolo-ribaudo added area: tests PR: Internal 🏠 A type of pull request used for our changelog categories labels Jan 13, 2020
I really don't like this commit, but import() is currently breaking
our publish script.
When "normal" tests we are transpiling import() so that it works
with Jest. We can't do it while publishing because we need to
publish the untranspiled import() so that it can load real .mjs files.

Follow up to babel#10903
Copy link
Copy Markdown
Contributor

@JLHwung JLHwung 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
Copy Markdown
Member

@kaicataldo kaicataldo left a comment

Choose a reason for hiding this comment

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

Sadness

@nicolo-ribaudo nicolo-ribaudo merged commit d75652e into babel:master Jan 15, 2020
@nicolo-ribaudo nicolo-ribaudo deleted the publish-tests-dyn-import branch January 15, 2020 22:38
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Apr 16, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: publishing process area: tests outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants