1
1
import * as child_process from 'child_process' ;
2
2
import * as path from 'path' ;
3
- import { FUTURE_FLAGS } from '@aws-cdk/cx-api' ;
4
3
import { SynthFastOptions , DestroyOptions , ListOptions , SynthOptions , DeployOptions } from 'cdk-cli-wrapper' ;
5
4
import * as fs from 'fs-extra' ;
6
5
import { IntegTestRunner , IntegSnapshotRunner } from '../../lib/runner/runners' ;
@@ -168,9 +167,7 @@ describe('IntegTest runIntegTests', () => {
168
167
requireApproval : 'never' ,
169
168
pathMetadata : false ,
170
169
assetMetadata : false ,
171
- context : expect . objectContaining ( {
172
- ...FUTURE_FLAGS ,
173
- } ) ,
170
+ context : expect . any ( Object ) ,
174
171
versionReporting : false ,
175
172
lookups : false ,
176
173
stacks : [ 'stack1' ] ,
@@ -181,9 +178,7 @@ describe('IntegTest runIntegTests', () => {
181
178
requireApproval : 'never' ,
182
179
pathMetadata : false ,
183
180
assetMetadata : false ,
184
- context : expect . objectContaining ( {
185
- ...FUTURE_FLAGS ,
186
- } ) ,
181
+ context : expect . any ( Object ) ,
187
182
versionReporting : false ,
188
183
lookups : false ,
189
184
stacks : [ 'stack1' ] ,
@@ -193,9 +188,7 @@ describe('IntegTest runIntegTests', () => {
193
188
app : 'node integ.test-with-snapshot.js' ,
194
189
pathMetadata : false ,
195
190
assetMetadata : false ,
196
- context : expect . objectContaining ( {
197
- ...FUTURE_FLAGS ,
198
- } ) ,
191
+ context : expect . any ( Object ) ,
199
192
versionReporting : false ,
200
193
force : true ,
201
194
stacks : [ 'stack1' ] ,
@@ -236,9 +229,7 @@ describe('IntegTest runIntegTests', () => {
236
229
pathMetadata : false ,
237
230
assetMetadata : false ,
238
231
versionReporting : false ,
239
- context : expect . objectContaining ( {
240
- ...FUTURE_FLAGS ,
241
- } ) ,
232
+ context : expect . any ( Object ) ,
242
233
force : true ,
243
234
stacks : [ 'stack1' ] ,
244
235
output : 'cdk-integ.out.integ-test1' ,
@@ -421,9 +412,7 @@ describe('IntegTest runIntegTests with profile', () => {
421
412
pathMetadata : false ,
422
413
assetMetadata : false ,
423
414
versionReporting : false ,
424
- context : expect . objectContaining ( {
425
- ...FUTURE_FLAGS ,
426
- } ) ,
415
+ context : expect . any ( Object ) ,
427
416
profile : 'test-profile' ,
428
417
lookups : false ,
429
418
stacks : [ 'stack1' ] ,
@@ -434,9 +423,7 @@ describe('IntegTest runIntegTests with profile', () => {
434
423
pathMetadata : false ,
435
424
assetMetadata : false ,
436
425
versionReporting : false ,
437
- context : expect . objectContaining ( {
438
- ...FUTURE_FLAGS ,
439
- } ) ,
426
+ context : expect . any ( Object ) ,
440
427
profile : 'test-profile' ,
441
428
force : true ,
442
429
stacks : [ 'stack1' ] ,
0 commit comments