Skip to content

Commit

Permalink
doc: Add comment about the tests patch made earliear
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Jun 20, 2024
1 parent 1f8aaba commit ec39936
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/biome.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ const RULE_REGEX = /(?<line>\d+?):\d+? (?<rule>[/A-z0-9]+)/gs;

const runTest = async (file: string): Array<{ lineNumber: string; rule: string }> => {
try {
/**
* Prefer execa to child_process.execSync since the latter hanged the tests on mac os devices
* Probably the issue was related to the npx command but the execa preferLogcal option helped to fix it
*/
await execa({
stdio: 'pipe',
encoding: 'utf8',
Expand Down

0 comments on commit ec39936

Please sign in to comment.