Skip to content

Commit e1ba244

Browse files
test(): fix broken tests
1 parent 98dfcd0 commit e1ba244

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test:e2e:dev": "lerna run test:e2e:dev --parallel"
2323
},
2424
"resolutions": {
25-
"graphql": "15.6.1"
25+
"graphql": "15.8.0"
2626
},
2727
"devDependencies": {
2828
"@commitlint/cli": "13.2.1",
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { registerEnumType } from '@nestjs/graphql';
2+
3+
export enum SampleOrphanedEnum {
4+
Red = 'RED',
5+
Blue = 'BLUE',
6+
Black = 'BLACK',
7+
White = 'WHITE',
8+
}
9+
10+
registerEnumType(SampleOrphanedEnum, {
11+
name: 'SampleOrphanedEnum',
12+
description: 'orphaned enum',
13+
});

packages/apollo/tests/e2e/code-first-schema.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { GRAPHQL_SDL_FILE_HEADER } from '@nestjs/graphql/graphql.constants';
21
import {
32
GraphQLSchemaBuilderModule,
43
GraphQLSchemaFactory,
5-
} from '@nestjs/graphql/schema-builder';
4+
} from '@nestjs/graphql';
5+
import { GRAPHQL_SDL_FILE_HEADER } from '@nestjs/graphql/graphql.constants';
66
import { Test } from '@nestjs/testing';
77
import {
88
getIntrospectionQuery,

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5229,10 +5229,10 @@ [email protected]:
52295229
resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.5.1.tgz#f486fbcabe4ad31b661d1a88aadf0411f17fc219"
52305230
integrity sha512-QP6OvCnqkdazSoZ6QboWVkCvEmDCOe6u41MzuhkCkYg+jZZbYafUlt3uC/7mvKLrlIyR44QgHOMALqBgg+Ab/w==
52315231

5232-
graphql@*, graphql@15.6.1, graphql@15.8.0, graphql@^15.5.1:
5233-
version "15.6.1"
5234-
resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.6.1.tgz#9125bdf057553525da251e19e96dab3d3855ddfc"
5235-
integrity sha512-3i5lu0z6dRvJ48QP9kFxBkJ7h4Kso7PS8eahyTFz5Jm6CvQfLtNIE8LX9N6JLnXTuwR+sIYnXzaWp6anOg0QQw==
5232+
graphql@*, [email protected], graphql@^15.5.1:
5233+
version "15.8.0"
5234+
resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.8.0.tgz#33410e96b012fa3bdb1091cc99a94769db212b38"
5235+
integrity sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==
52365236

52375237
handlebars@^4.7.6:
52385238
version "4.7.7"

0 commit comments

Comments
 (0)