Skip to content

[heft-sass-plugin] Replace build-tests project with SassProcessor unit tests#5769

Merged
iclanton merged 2 commits intomicrosoft:mainfrom
iclanton:clean-up-tests
Apr 11, 2026
Merged

[heft-sass-plugin] Replace build-tests project with SassProcessor unit tests#5769
iclanton merged 2 commits intomicrosoft:mainfrom
iclanton:clean-up-tests

Conversation

@iclanton
Copy link
Copy Markdown
Member

Summary

  • Removes the heft-sass-doNotTrimOriginalFileExtension-test build-test project, which tested only a single SassProcessor option via a full Heft build
  • Adds SassProcessor.test.ts unit tests directly in heft-sass-plugin, covering CSS modules, Sass/SASS syntax, JS shims, doNotTrimOriginalFileExtension, preserveIcssExports, postProcessCssAsync, multiple output folders, error reporting, and more
  • Test fixtures live in src/test/fixtures/ and FileSystem writes are mocked, so no build pipeline is needed

Test plan

  • rush build --to @rushstack/heft-sass-plugin passes
  • rush test --to @rushstack/heft-sass-plugin passes with all new tests green

🤖 Generated with Claude Code

@iclanton iclanton merged commit 932b557 into microsoft:main Apr 11, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants