Skip to content

Commit be3dc59

Browse files
committed
fix: sonarqube issue resolved
1 parent ddb217b commit be3dc59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/event-handler/tests/unit/appsync-graphql/AppSyncGraphQLResolver.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,9 +1173,10 @@ describe('Class: AppSyncGraphQLResolver', () => {
11731173
}
11741174

11751175
async handler(event: unknown, context: Context) {
1176-
return app.resolve(event, context, {
1176+
const resolved = app.resolve(event, context, {
11771177
scope: this,
11781178
});
1179+
return resolved;
11791180
}
11801181
}
11811182

0 commit comments

Comments
 (0)