Comments (6)
Start a new pull request in StackBlitz Codeflow.
from vitest.
Yes, the filter is just string.includes()
, this is expected. You need to provide /
yourself
from vitest.
if you see the repro, the filter contains the /
but it is being ignored
from vitest.
@sheremet-va did you see the comment above? The defect appears valid to me.
from vitest.
You are correct, this is a bug. It probably happens because of this check (relative
removes all /
at the end):
vitest/packages/vitest/src/node/workspace.ts
Line 255 in 7dee832
To fix this, we should append /
if it was there before relative
was called.
from vitest.
I challenge to contribute.
from vitest.
Related Issues (20)
- Fixtures are not passed to the test function when using `test.each()` HOT 14
- Vitest always writes snapshot files on Windows 10 with Node 18.17.1
- `SyntaxError: The requested module 'execa' does not provide an export named 'default'` when installing dependency HOT 2
- Unnecessary (?) check for if vite is installed
- Coverage ignores vite.config.js file in versions >= 1.0.0-beta.0 HOT 10
- Snapshot with more than a handful of lines
- Odd behavior with `toThrowErrorMatchingInlineSnapshot` with multiline error message
- Unable to access input field in vitest dom HOT 1
- Istanbul Coverage: "Error: Invalid file coverage object, missing keys" HOT 2
- vitest freezes when extending a test and testTimeout occurs HOT 6
- `--changed` not propagating to yarn workspaces HOT 1
- Vitest 1.0.1 breaks mocked constructors due to unmocked getters HOT 1
- Yarn PnP (`nodeLinker: pnp`) throws an error of `MISSING DEP Can not find dependency 'vite' ` HOT 8
- Fixture teardown error is not treated as test failure HOT 1
- Bug: test throws an error when using a MouseEvent with jsdom environment HOT 7
- unhandled error with browser tests and modified `base` HOT 6
- Suddenly can't run tests: "Error: Cannot merge config in form of callback" HOT 1
- @types/chai conflict with @vitest/expect/dist/chai.d.cts HOT 10
- Position of test filter vs. flags for running single tests HOT 2
- `--coverage.all=false` doesn't work for vitest workspace HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitest.