Skip to content

test(pluginutils): add test for exactRegex and prefixRegex#4466

Merged
IWANABETHATGUY merged 2 commits intorolldown:mainfrom
sapphi-red:test/pluginutils-exact-regex-prefix-regex
May 9, 2025
Merged

test(pluginutils): add test for exactRegex and prefixRegex#4466
IWANABETHATGUY merged 2 commits intorolldown:mainfrom
sapphi-red:test/pluginutils-exact-regex-prefix-regex

Conversation

@sapphi-red
Copy link
Member

@sapphi-red sapphi-red commented May 9, 2025

Description

test for #4458

Copilot AI review requested due to automatic review settings May 9, 2025 10:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive tests for the utility functions exactRegex and prefixRegex in the pluginutils module.

  • Added tests for exactRegex including flag support and proper escaping of special characters.
  • Added tests for prefixRegex including flag support and proper escaping of special characters.
  • Removed an empty test file to clean up the codebase.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/pluginutils/src/simple-filters.test.ts Added new tests for exactRegex and prefixRegex to validate regex patterns and behavior
packages/pluginutils/src/index.test.ts Removed the empty test file

@IWANABETHATGUY IWANABETHATGUY added this pull request to the merge queue May 9, 2025
Merged via the queue into rolldown:main with commit edc9567 May 9, 2025
23 checks passed
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.

4 participants