Commit f5d4a3c
Fix ability to pass arguments to
Removed unnecessary '--' argument from command. Unlike `npm`, `pnpm` passes `--` through down to vitest:
*NPM behavior:*
```bash
$ npm run test -- service/service.test.ts
> [email protected] test
> vitest run service/service.test.ts
```
*PNPM behavior:*
```bash
pnpm test -- service/service.test.ts
> [email protected] test
> vitest run -- service/service.test.ts
```
*Current Encore with PNPM behavior:*
```bash
encore test -- service/service.test.ts
> [email protected] test
> vitest run -- -- service/service.test.ts
```
```bash
encore test service/service.test.ts
> [email protected] test
> vitest run -- service/service.test.ts
```
*Encore with PNPM behavior with new changes:*
```bash
encore test service/service.test.ts
> [email protected] test
> vitest run service/service.test.ts
```vitest when using pnpm
1 parent c577689 commit f5d4a3c
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | 363 | | |
367 | 364 | | |
368 | 365 | | |
| |||
0 commit comments