Skip to content

Better config tests - #535

Merged
RyanZim merged 1 commit into
masterfrom
ryan/config-tests
Sep 3, 2026
Merged

Better config tests#535
RyanZim merged 1 commit into
masterfrom
ryan/config-tests

Conversation

@RyanZim

@RyanZim RyanZim commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

The tests didn't actually ensure the config was applied; also there wasn't an explicit test for the --config flag.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused test changes correctly verify configuration loading and plugin execution.

Pull request overview

Improves configuration tests by verifying configured plugins are actually applied.

Changes:

  • Validates CommonJS and ESM configurations through transformed CSS.
  • Adds explicit --config flag coverage.
File summaries
File Description
test/config.js Strengthens config assertions and tests --config.
test/fixtures/cfg-dir/postcss.config.js Provides a dedicated custom configuration fixture.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@RyanZim
RyanZim merged commit 70d90a0 into master Sep 3, 2026
7 checks passed
@RyanZim
RyanZim deleted the ryan/config-tests branch September 3, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants