@@ -41,7 +41,7 @@ Deno.test("listAwsIntegrationSettings", async () => {
41
41
const client = new Mackerel . Client ( dummyApiKey , dummyBaseurl ) ;
42
42
const resp = await client . listAwsIntegrationSettings ( ) ;
43
43
assertEquals ( resp [ 0 ] . name , "test-aws-integration" ) ;
44
- assertEquals ( resp [ 0 ] . services [ "EC2" ] . retireAutomatically , false ) ;
44
+ assertEquals ( resp [ 0 ] . services [ "EC2" ] ! . retireAutomatically , false ) ;
45
45
mf . uninstall ( ) ;
46
46
} ) ;
47
47
@@ -80,7 +80,7 @@ Deno.test("getAwsIntegrationSettings", async () => {
80
80
const client = new Mackerel . Client ( dummyApiKey , dummyBaseurl ) ;
81
81
const resp = await client . getAwsIntegrationSettings ( awsIntegrationID ) ;
82
82
assertEquals ( resp . id , awsIntegrationID ) ;
83
- assertEquals ( resp . services [ "EC2" ] . retireAutomatically , false ) ;
83
+ assertEquals ( resp . services [ "EC2" ] ! . retireAutomatically , false ) ;
84
84
mf . uninstall ( ) ;
85
85
} ) ;
86
86
@@ -124,7 +124,7 @@ Deno.test("registerAwsIntegrationSettings", async () => {
124
124
const client = new Mackerel . Client ( dummyApiKey , dummyBaseurl ) ;
125
125
const resp = await client . registerAwsIntegrationSettings ( registerParam ) ;
126
126
assertEquals ( resp . id , "testid" ) ;
127
- assertEquals ( resp . services [ "S3" ] . enable , true ) ;
127
+ assertEquals ( resp . services [ "S3" ] ! . enable , true ) ;
128
128
mf . uninstall ( ) ;
129
129
} ) ;
130
130
@@ -174,7 +174,7 @@ Deno.test("updateAwsIntegrationSettings", async () => {
174
174
updateParam ,
175
175
) ;
176
176
assertEquals ( resp . id , "testid" ) ;
177
- assertEquals ( resp . services [ "ALB" ] . enable , true ) ;
177
+ assertEquals ( resp . services [ "ALB" ] ! . enable , true ) ;
178
178
mf . uninstall ( ) ;
179
179
} ) ;
180
180
@@ -213,7 +213,7 @@ Deno.test("deleteAwsIntegrationSettings", async () => {
213
213
const client = new Mackerel . Client ( dummyApiKey , dummyBaseurl ) ;
214
214
const resp = await client . deleteAwsIntegrationSettings ( awsIntegrationID ) ;
215
215
assertEquals ( resp . id , awsIntegrationID ) ;
216
- assertEquals ( resp . services [ "EC2" ] . retireAutomatically , false ) ;
216
+ assertEquals ( resp . services [ "EC2" ] ! . retireAutomatically , false ) ;
217
217
mf . uninstall ( ) ;
218
218
} ) ;
219
219
@@ -251,6 +251,6 @@ Deno.test("listExcludableMetricsForAwsIntegration", async () => {
251
251
) ;
252
252
const client = new Mackerel . Client ( dummyApiKey , dummyBaseurl ) ;
253
253
const resp = await client . listExcludableMetricsForAwsIntegration ( ) ;
254
- assertEquals ( resp [ "ELB" ] [ 1 ] , "testmetrics2" ) ;
254
+ assertEquals ( resp [ "ELB" ] ! [ 1 ] , "testmetrics2" ) ;
255
255
mf . uninstall ( ) ;
256
256
} ) ;
0 commit comments