Skip to content

Comments

test(transformer/styled-components): fix test case#13377

Merged
graphite-app[bot] merged 1 commit intomainfrom
08-29-test_transformer_styled-components_fix_test_case
Aug 29, 2025
Merged

test(transformer/styled-components): fix test case#13377
graphite-app[bot] merged 1 commit intomainfrom
08-29-test_transformer_styled-components_fix_test_case

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Aug 29, 2025

Fix a test case which was previously failing. The original test case in babel-plugin-styled-components does include a space before height:. Our copy of the test had got changed somehow (wrongly). This PR brings the case back into alignment with the original and, thanks to #13346, it now passes.

https://github.com/styled-components/babel-plugin-styled-components/blob/4e2eb388d9c90f2921c306c760657d059d01a518/test/fixtures/minify-single-line-comments-with-interpolations/output.js#L26-L29

Copy link
Member Author

overlookmotel commented Aug 29, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review August 29, 2025 01:06
@overlookmotel overlookmotel force-pushed the 08-29-test_transformer_styled-components_fix_test_case branch from b02d63c to 35e04d5 Compare August 29, 2025 01:18
@overlookmotel overlookmotel force-pushed the 08-29-fix_transformer_styled-components_remove_trailing_whitespace_in_css_minification branch 2 times, most recently from 857ab3b to 68001f8 Compare August 29, 2025 01:23
@overlookmotel overlookmotel force-pushed the 08-29-test_transformer_styled-components_fix_test_case branch from 35e04d5 to 3f13232 Compare August 29, 2025 01:23
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Aug 29, 2025
Copy link
Member

Boshen commented Aug 29, 2025

Merge activity

Fix a test case which was previously failing. The original test case in `babel-plugin-styled-components` *does* include a space before `height:`. Our copy of the test had got changed somehow (wrongly). This PR brings the case back into alignment with the original and, thanks to #13346, it now passes.

https://github.com/styled-components/babel-plugin-styled-components/blob/4e2eb388d9c90f2921c306c760657d059d01a518/test/fixtures/minify-single-line-comments-with-interpolations/output.js#L26-L29
@graphite-app graphite-app bot force-pushed the 08-29-fix_transformer_styled-components_remove_trailing_whitespace_in_css_minification branch from 68001f8 to 1fca9b8 Compare August 29, 2025 03:17
@graphite-app graphite-app bot requested a review from Dunqing as a code owner August 29, 2025 03:17
@graphite-app graphite-app bot force-pushed the 08-29-test_transformer_styled-components_fix_test_case branch from 3f13232 to f02b05e Compare August 29, 2025 03:18
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Aug 29, 2025
Base automatically changed from 08-29-fix_transformer_styled-components_remove_trailing_whitespace_in_css_minification to main August 29, 2025 03:23
@graphite-app graphite-app bot merged commit f02b05e into main Aug 29, 2025
17 checks passed
@graphite-app graphite-app bot deleted the 08-29-test_transformer_styled-components_fix_test_case branch August 29, 2025 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-transformer Area - Transformer / Transpiler C-test Category - Testing. Code is missing test cases, or a PR is adding them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants