Skip to content

Commit b542362

Browse files
committed
chore: enable colours when running pnpm
pnpm seems to strip colours when running parallel tasks (via the `-r` flag). This results in our snapshots mismatching since all of our tests output without colours. This change basically adds the `--color` flag to force it not to do this, so the snapshots match.
1 parent 17342d2 commit b542362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"format": "biome check --write",
1111
"lint": "biome lint --write --unsafe",
1212
"type-check": "biome lint && tsc",
13-
"test": "pnpm -r run test",
13+
"test": "pnpm --color -r run test",
1414
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",
1515
"ci:publish": "changeset publish"
1616
},

0 commit comments

Comments
 (0)