Skip to content

Commit c15f54a

Browse files
Alan-ChaErikWittern
authored andcommitted
Clean up Example API server code
Signed-off-by: Alan Cha <[email protected]>
1 parent 693c3ab commit c15f54a

File tree

2 files changed

+147
-100
lines changed

2 files changed

+147
-100
lines changed

packages/openapi-to-graphql/test/example_api.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ test('Define header and query options', () => {
957957
return graphql(schema, query).then(result => {
958958
expect(result).toEqual({
959959
data: {
960-
status2: 'Ok.'
960+
status2: 'Ok'
961961
}
962962
})
963963
})
@@ -1266,7 +1266,6 @@ test('Option customResolver using resolver arguments that are sanitized', () =>
12661266
'Example API': {
12671267
'/products/{product-id}': {
12681268
get: (obj, args, context, info) => {
1269-
console.log(args)
12701269
return {
12711270
// Note that the argument name is sanitized
12721271
productName: 'abcdef'

0 commit comments

Comments
 (0)