Skip to content

Commit b606807

Browse files
committed
update aws-lambda hono assertions
1 parent 2a5b89b commit b606807

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/aws-lambda/features/promise-rejection.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ Scenario Outline: thrown non-error exceptions are reported when using hono
117117
Given I setup the environment
118118
When I invoke the "HonoFunction" lambda in "features/fixtures/hono-app" with the "events/throw-non-error.json" event
119119
Then the lambda response "errorMessage" equals "1"
120-
And the lambda response "errorType" equals "Runtime.UnhandledPromiseRejection"
120+
And the lambda response "errorType" equals "number"
121121
And the lambda response "trace" is an array with 4 elements
122-
And the lambda response "trace.0" equals "Runtime.UnhandledPromiseRejection: 1"
122+
And the lambda response "trace.0" equals "1"
123123
And the lambda response "body" is null
124124
And the lambda response "statusCode" is null
125125
And the SAM exit code equals 0

0 commit comments

Comments
 (0)