File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,14 +15,11 @@ const API_KEY_USER_ENDPOINT = '/builtin-users/dataverseAdmin/api-token'
1515const API_KEY_USER_PASSWORD = 'admin1'
1616
1717export 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+ }
You can’t perform that action at this time.
0 commit comments