Skip to content

Commit

Permalink
fix(tests): failing on repeated invocations at existing directories
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Nov 6, 2024
1 parent b528584 commit 7d27d6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration-tests/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)

// create a fake git repository to test searching inside one
await mkdir(path.join(__dirname, "..", "test-environment", "limited", ".git"))
await mkdir(path.join(__dirname, "..", "test-environment", "limited", ".git"), {
recursive: true,
})

const config: TestServerConfig = {
testEnvironmentPath: path.join(__dirname, "..", "test-environment/"),
Expand Down

0 comments on commit 7d27d6b

Please sign in to comment.