Skip to content

Commit 4f7d4b5

Browse files
committed
Revert "skip"
This reverts commit f865ec4.
1 parent f865ec4 commit 4f7d4b5

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

test/environment/setup.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@ const API_KEY_USER_ENDPOINT = '/builtin-users/dataverseAdmin/api-token'
1515
const API_KEY_USER_PASSWORD = 'admin1'
1616

1717
export default async function setupTestEnvironment(): Promise<void> {
18-
await setupContainers() //Set skipContainers to true to skip container setup and run tests against an already running instance
18+
await setupContainers()
1919
await setupApiKey()
2020
}
2121

22-
async function setupContainers(skipContainers?: boolean): Promise<void> {
23-
if (skipContainers) {
24-
return
25-
}
22+
async function setupContainers(): Promise<void> {
2623
console.log('Cleaning up old container volumes...')
2724
fs.rmSync(`${__dirname}/docker-dev-volumes`, { recursive: true, force: true })
2825
console.log('Running test containers...')
@@ -48,4 +45,4 @@ async function setupApiKey(): Promise<void> {
4845
console.error('Tests setup: Error while obtaining API key')
4946
})
5047
console.log('API key obtained')
51-
}
48+
}

0 commit comments

Comments
 (0)