Skip to content

More refactoring of tsc baselines to help with easier updates - #48572

Merged
Sheetal Nandi (sheetalkamat) merged 2 commits into
mainfrom
baselining2
Apr 6, 2022
Merged

Sheetal Nandi (sheetalkamat) merged 2 commits into
mainfrom
baselining2

Conversation

@sheetalkamat

@sheetalkamat Sheetal Nandi (sheetalkamat) commented Apr 5, 2022 •

Copy link
Copy Markdown
Member

Removes unnecessary directories in the baselines making one baseline per test.
Also unifies two baseline functions that were doing something similar with slight change.

const patch = fs.diff(inputFs, { includeChangedFileWithSameContent: true });
return {
file: `${isBuild(commandLineArgs) ? "tsbuild" : "tsc"}/${scenario}/${buildKind || BuildKind.Initial}/${subScenario.split(" ").join("-")}.js`,
file: `${isBuild(commandLineArgs) ? "tsbuild" : "tsc"}/${scenario}/${subScenario.split(" ").join("-")}.js`,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Removed this one level of unnecessary directory in the baselines

@sheetalkamat
Sheetal Nandi (sheetalkamat) deleted the baselining2 branch April 6, 2022 21:10
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants