Skip to content

Commit

Permalink
Try fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 27, 2024
1 parent 8203acc commit 4f0f261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ import avaConfig from '@ehmicky/dev-tasks/ava.config.js'

export default {
...avaConfig,
// CI tests on Windows fail due to the amount of parallel tests otherwise
concurrency: 1,
workerThreads: true,
}
3 changes: 1 addition & 2 deletions src/converters.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ each(TYPES, VALID_FULL_DATA, ({ title }, otherType, arg) => {
return
}

// Serial, else this test file crashes due to too many tests in parallel
test.serial(`convert (idempotence) | ${title}`, (t) => {
test(`convert (idempotence) | ${title}`, (t) => {
t.deepEqual(normalize(arg), convert[type](convert[otherType](arg)))
})
})

0 comments on commit 4f0f261

Please sign in to comment.