Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Jun 24, 2024
1 parent 96d9d18 commit b2c8574
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/fixtures.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ test.concurrent('explicit config path', async ({ expect }) => {

describe('fixtures', () => {
// Temporarily move config files out of the way so they don't interfere with the tests
beforeAll(() =>
Promise.all(configs.map(({ from, to }) => fs.rename(from, to))),
)
beforeAll(async () => {
await Promise.all(configs.map(({ from, to }) => fs.rename(from, to)))
})

afterAll(() =>
Promise.all(configs.map(({ from, to }) => fs.rename(to, from))),
)
afterAll(async () => {
await Promise.all(configs.map(({ from, to }) => fs.rename(to, from)))
})

let binPath = path.resolve(__dirname, '../node_modules/.bin/prettier')

Expand Down

0 comments on commit b2c8574

Please sign in to comment.