@@ -10,37 +10,36 @@ describe("digitalocean-region", async () => {
10
10
11
11
testRequiredVariables ( import . meta. dir , { } ) ;
12
12
13
-
14
13
it ( "default output" , async ( ) => {
15
- const state = await runTerraformApply ( import . meta. dir , { } ) ;
16
- expect ( state . outputs . value . value ) . toBe ( "ams2" ) ;
14
+ const state = await runTerraformApply ( import . meta. dir , { } ) ;
15
+ expect ( state . outputs . value . value ) . toBe ( "ams2" ) ;
17
16
} ) ;
18
17
19
18
it ( "customized default" , async ( ) => {
20
- const state = await runTerraformApply ( import . meta. dir , {
21
- regions : '["nyc1","ams3"]' ,
22
- default : "ams3" ,
23
- } ) ;
24
- expect ( state . outputs . value . value ) . toBe ( "ams3" ) ;
19
+ const state = await runTerraformApply ( import . meta. dir , {
20
+ regions : '["nyc1","ams3"]' ,
21
+ default : "ams3" ,
22
+ } ) ;
23
+ expect ( state . outputs . value . value ) . toBe ( "ams3" ) ;
25
24
} ) ;
26
25
27
26
it ( "gpu only invalid default" , async ( ) => {
28
- const state = await runTerraformApply ( import . meta. dir , {
29
- regions : '["nyc1"]' ,
30
- default : "nyc1" ,
31
- gpu_only : "true" ,
32
- } ) ;
33
- expect ( state . outputs . value . value ) . toBe ( "nyc1" ) ;
27
+ const state = await runTerraformApply ( import . meta. dir , {
28
+ regions : '["nyc1"]' ,
29
+ default : "nyc1" ,
30
+ gpu_only : "true" ,
31
+ } ) ;
32
+ expect ( state . outputs . value . value ) . toBe ( "nyc1" ) ;
34
33
} ) ;
35
34
36
35
it ( "gpu only valid default" , async ( ) => {
37
- const state = await runTerraformApply ( import . meta. dir , {
38
- regions : '["tor1"]' ,
39
- default : "tor1" ,
40
- gpu_only : "true" ,
41
- } ) ;
42
- expect ( state . outputs . value . value ) . toBe ( "tor1" ) ;
36
+ const state = await runTerraformApply ( import . meta. dir , {
37
+ regions : '["tor1"]' ,
38
+ default : "tor1" ,
39
+ gpu_only : "true" ,
40
+ } ) ;
41
+ expect ( state . outputs . value . value ) . toBe ( "tor1" ) ;
43
42
} ) ;
44
43
45
44
// Add more tests as needed for coder_parameter_order or other features
46
- } ) ;
45
+ } ) ;
0 commit comments