Skip to content

Commit

Permalink
tests: ansi characters
Browse files Browse the repository at this point in the history
  • Loading branch information
changfeng committed May 31, 2023
1 parent bd2a75d commit 9dd0655
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"lint:fix": "pnpm run lint --fix",
"build": "tsup && tsx scripts/postbuild.mts",
"dev": "tsup --watch",
"test": "vitest",
"test": "vitest --test-timeout=10000",
"release": "bumpp && pnpm publish",
"prepublishOnly": "pnpm run build"
},
Expand Down
3 changes: 3 additions & 0 deletions tests/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ const exec = async (command: string) => {
const result = await execa(cmd, args, {
cwd: testCwd,
preferLocal: true,
env: {
NO_COLOR: 'true',
},
});
return result;
};
Expand Down

0 comments on commit 9dd0655

Please sign in to comment.