1
+ /* eslint-disable @typescript-eslint/camelcase */
1
2
// imports
2
3
import uuid from "uuid/v4" ;
3
4
import * as deploymenttable from "../../lib/azure/deploymenttable" ;
@@ -134,16 +135,16 @@ afterAll(() => {
134
135
describe ( "Validate deployment configuration" , ( ) => {
135
136
test ( "valid deployment configuration" , async ( ) => {
136
137
const config : ConfigYaml = {
137
- " azure_devops" : {
138
+ azure_devops : {
138
139
org : uuid ( ) ,
139
140
project : uuid ( )
140
141
} ,
141
142
introspection : {
142
143
azure : {
143
- " account_name" : uuid ( ) ,
144
+ account_name : uuid ( ) ,
144
145
key : Promise . resolve ( uuid ( ) ) ,
145
- " partition_key" : uuid ( ) ,
146
- " table_name" : uuid ( )
146
+ partition_key : uuid ( ) ,
147
+ table_name : uuid ( )
147
148
}
148
149
}
149
150
} ;
@@ -210,7 +211,7 @@ describe("test runSelfTest function", () => {
210
211
introspection : {
211
212
azure : {
212
213
key : Promise . resolve ( uuid ( ) ) ,
213
- " table_name" : undefined
214
+ table_name : undefined
214
215
}
215
216
}
216
217
} ;
@@ -229,7 +230,7 @@ describe("test runSelfTest function", () => {
229
230
introspection : {
230
231
azure : {
231
232
key : Promise . resolve ( uuid ( ) ) ,
232
- " table_name" : undefined
233
+ table_name : undefined
233
234
}
234
235
}
235
236
} ;
@@ -244,7 +245,7 @@ describe("test runSelfTest function", () => {
244
245
introspection : {
245
246
azure : {
246
247
key : Promise . resolve ( uuid ( ) ) ,
247
- " table_name" : undefined
248
+ table_name : undefined
248
249
}
249
250
}
250
251
} ;
@@ -277,7 +278,7 @@ describe("Validate missing deployment.storage configuration", () => {
277
278
const config : ConfigYaml = {
278
279
introspection : {
279
280
azure : {
280
- " account_name" : undefined ,
281
+ account_name : undefined ,
281
282
key : Promise . resolve ( uuid ( ) )
282
283
}
283
284
}
@@ -292,7 +293,7 @@ describe("Validate missing deployment.storage configuration", () => {
292
293
introspection : {
293
294
azure : {
294
295
key : Promise . resolve ( uuid ( ) ) ,
295
- " table_name" : undefined
296
+ table_name : undefined
296
297
}
297
298
}
298
299
} ;
@@ -306,7 +307,7 @@ describe("Validate missing deployment.storage configuration", () => {
306
307
introspection : {
307
308
azure : {
308
309
key : Promise . resolve ( uuid ( ) ) ,
309
- " partition_key" : undefined
310
+ partition_key : undefined
310
311
}
311
312
}
312
313
} ;
@@ -343,7 +344,7 @@ describe("Validate missing deployment.pipeline configuration", () => {
343
344
describe ( "Validate missing deployment.pipeline configuration" , ( ) => {
344
345
test ( "missing deployment.pipeline.org configuration" , async ( ) => {
345
346
const config : ConfigYaml = {
346
- " azure_devops" : {
347
+ azure_devops : {
347
348
org : undefined
348
349
} ,
349
350
introspection : {
@@ -359,7 +360,7 @@ describe("Validate missing deployment.pipeline configuration", () => {
359
360
describe ( "Validate missing deployment.pipeline configuration" , ( ) => {
360
361
test ( "missing deployment.pipeline.project configuration" , async ( ) => {
361
362
const config : ConfigYaml = {
362
- " azure_devops" : {
363
+ azure_devops : {
363
364
org : "org" ,
364
365
project : undefined
365
366
} ,
0 commit comments