Skip to content

fix: testNamePattern adds leading space#6186

Merged
sheremet-va merged 1 commit intovitest-dev:mainfrom
AriPerkkio:fix/test-name-pattern-regexp
Jul 26, 2024
Merged

fix: testNamePattern adds leading space#6186
sheremet-va merged 1 commit intovitest-dev:mainfrom
AriPerkkio:fix/test-name-pattern-regexp

Conversation

@AriPerkkio
Copy link
Member

@AriPerkkio AriPerkkio commented Jul 21, 2024

Description

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@AriPerkkio AriPerkkio force-pushed the fix/test-name-pattern-regexp branch from e41c07c to 60a299b Compare July 21, 2024 18:43
@AriPerkkio AriPerkkio force-pushed the fix/test-name-pattern-regexp branch from 5bfc1f4 to 1777553 Compare July 26, 2024 05:20
@netlify
Copy link

netlify bot commented Jul 26, 2024

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1777553
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/66a33231d563720008cf0e35
😎 Deploy Preview https://deploy-preview-6186--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sheremet-va sheremet-va merged commit 073a50c into vitest-dev:main Jul 26, 2024
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.

Bug: testNamePattern option unnecessarily requires a leading space for an exact match.

2 participants