Skip to content

Commit 7979f7c

Browse files
committed
v2 differences
1 parent 6c6319f commit 7979f7c

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

packages/@aws-cdk/integ-runner/test/runner/runners.test.ts

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as child_process from 'child_process';
22
import * as path from 'path';
3-
import { FUTURE_FLAGS } from '@aws-cdk/cx-api';
43
import { SynthFastOptions, DestroyOptions, ListOptions, SynthOptions, DeployOptions } from 'cdk-cli-wrapper';
54
import * as fs from 'fs-extra';
65
import { IntegTestRunner, IntegSnapshotRunner } from '../../lib/runner/runners';
@@ -168,9 +167,7 @@ describe('IntegTest runIntegTests', () => {
168167
requireApproval: 'never',
169168
pathMetadata: false,
170169
assetMetadata: false,
171-
context: expect.objectContaining({
172-
...FUTURE_FLAGS,
173-
}),
170+
context: expect.any(Object),
174171
versionReporting: false,
175172
lookups: false,
176173
stacks: ['stack1'],
@@ -181,9 +178,7 @@ describe('IntegTest runIntegTests', () => {
181178
requireApproval: 'never',
182179
pathMetadata: false,
183180
assetMetadata: false,
184-
context: expect.objectContaining({
185-
...FUTURE_FLAGS,
186-
}),
181+
context: expect.any(Object),
187182
versionReporting: false,
188183
lookups: false,
189184
stacks: ['stack1'],
@@ -193,9 +188,7 @@ describe('IntegTest runIntegTests', () => {
193188
app: 'node integ.test-with-snapshot.js',
194189
pathMetadata: false,
195190
assetMetadata: false,
196-
context: expect.objectContaining({
197-
...FUTURE_FLAGS,
198-
}),
191+
context: expect.any(Object),
199192
versionReporting: false,
200193
force: true,
201194
stacks: ['stack1'],
@@ -236,9 +229,7 @@ describe('IntegTest runIntegTests', () => {
236229
pathMetadata: false,
237230
assetMetadata: false,
238231
versionReporting: false,
239-
context: expect.objectContaining({
240-
...FUTURE_FLAGS,
241-
}),
232+
context: expect.any(Object),
242233
force: true,
243234
stacks: ['stack1'],
244235
output: 'cdk-integ.out.integ-test1',
@@ -421,9 +412,7 @@ describe('IntegTest runIntegTests with profile', () => {
421412
pathMetadata: false,
422413
assetMetadata: false,
423414
versionReporting: false,
424-
context: expect.objectContaining({
425-
...FUTURE_FLAGS,
426-
}),
415+
context: expect.any(Object),
427416
profile: 'test-profile',
428417
lookups: false,
429418
stacks: ['stack1'],
@@ -434,9 +423,7 @@ describe('IntegTest runIntegTests with profile', () => {
434423
pathMetadata: false,
435424
assetMetadata: false,
436425
versionReporting: false,
437-
context: expect.objectContaining({
438-
...FUTURE_FLAGS,
439-
}),
426+
context: expect.any(Object),
440427
profile: 'test-profile',
441428
force: true,
442429
stacks: ['stack1'],

0 commit comments

Comments
 (0)