Skip to content

test(node): improve tests related to customized output filenames#3761

Closed
shulaoda wants to merge 1 commit intorolldown:mainfrom
shulaoda:test/improve-filenames-tests
Closed

test(node): improve tests related to customized output filenames#3761
shulaoda wants to merge 1 commit intorolldown:mainfrom
shulaoda:test/improve-filenames-tests

Conversation

@shulaoda
Copy link
Member

@shulaoda shulaoda commented Mar 4, 2025

Description

Related to #3256

I have consolidated all rust-side tests related to output filenames and removed unnecessary tests on the node side.

@shulaoda shulaoda force-pushed the test/improve-filenames-tests branch from 0ec78d1 to 25cfe3b Compare March 4, 2025 14:52
@shulaoda shulaoda force-pushed the test/improve-filenames-tests branch from 25cfe3b to 1a976d3 Compare March 4, 2025 14:52
Comment on lines +1 to +4
// Since we have customized the output `entry_filenames`,
// the `compiled_entries` in the following context is incorrect.
//
// /crates/rolldown_testing/src/integration_test.rs#L471-L484
Copy link
Member Author

Choose a reason for hiding this comment

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

We need to add a _test.mjs file to prevent test failures caused by the inability to correctly recognize the entry after customizing the output entry_filenames.

@IWANABETHATGUY IWANABETHATGUY marked this pull request as draft March 4, 2025 14:57
@IWANABETHATGUY
Copy link
Member

I have some different opinions about the test migration, need to discuss it in the next meeting.

@IWANABETHATGUY IWANABETHATGUY added the on hold: to be discussed Waiting for team to discuss this issue label Mar 4, 2025
@IWANABETHATGUY
Copy link
Member

I update the principle about testing, #3856

@IWANABETHATGUY IWANABETHATGUY removed the on hold: to be discussed Waiting for team to discuss this issue label Mar 24, 2025
github-merge-queue bot pushed a commit that referenced this pull request Apr 7, 2025
…#4019)

### Description

closes #4016 

I will improve the related test cases based on
#3761 in a follow-up.
@Boshen
Copy link
Member

Boshen commented May 9, 2025

Did we have a consensus for this?

@shulaoda shulaoda closed this May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants