-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Describe the bug
When using the toMatchInlineSnapshot, I encountered a problem where the function fails to work when used in a file path that includes parentheses.
Screenshot
Reproduction
Stackblitz: https://stackblitz.com/edit/node-7qhuzi?file=(foo)/bar.test.js
System Info
System:
OS: Windows 10 10.0.19044
CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
Memory: 4.45 GB / 31.93 GB
Binaries:
Node: 18.16.0 - D:\scoop\apps\nvm\current\nodejs\nodejs\node.EXE
Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 9.5.1 - D:\scoop\apps\nvm\current\nodejs\nodejs\npm.CMD
Browsers:
Chrome: 113.0.5672.93
Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.42)
Internet Explorer: 11.0.19041.1566
npmPackages:
vitest: ^0.31.0 => 0.31.0Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
