Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { AssumeRoleCommand, GetCallerIdentityCommand } from '@aws-sdk/client-sts
import {
cloneDirectory,
integTest,
// randomInteger,
randomInteger,
randomString,
RESOURCES_DIR,
retry,
Expand Down Expand Up @@ -2214,26 +2214,26 @@ integTest(
}),
);

// integTest(
// 'sam can locally test the synthesized cdk application',
// withSamIntegrationFixture(async (fixture) => {
// // Synth first
// await fixture.cdkSynth();

// const result = await fixture.samLocalStartApi(
// 'TestStack',
// false,
// randomInteger(30000, 40000),
// '/restapis/spec/pythonFunction',
// );
// expect(result.actionSucceeded).toBeTruthy();
// expect(result.actionOutput).toEqual(
// expect.objectContaining({
// message: 'Hello World',
// }),
// );
// }),
// );
integTest(
'sam can locally test the synthesized cdk application',
withSamIntegrationFixture(async (fixture) => {
// Synth first
await fixture.cdkSynth();

const result = await fixture.samLocalStartApi(
'TestStack',
false,
randomInteger(30000, 40000),
'/restapis/spec/pythonFunction',
);
expect(result.actionSucceeded).toBeTruthy();
expect(result.actionOutput).toEqual(
expect.objectContaining({
message: 'Hello World',
}),
);
}),
);

integTest(
'skips notice refresh',
Expand Down
Loading