File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
docs/docs/docs/developer-resources Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ There aren't any other strict structure requirements for the this directory.
61
61
62
62
### Mock GraphQL Context Factory Function
63
63
64
- #### In Directory ` test/MockContext/* `
64
+ #### In Directory ` test/_Mocks_/mockContextCreator `
65
65
66
66
#### ** Purpose**
67
67
@@ -72,7 +72,7 @@ The `createMockGraphQLContext` function provides a **fully mocked GraphQL contex
72
72
#### ** Importing the Mock Context**
73
73
74
74
``` ts
75
- import { createMockGraphQLContext } from " test/MockContext /mockContextCreator" ;
75
+ import { createMockGraphQLContext } from " test/_Mocks_ /mockContextCreator" ;
76
76
```
77
77
78
78
#### ** Creating a Mock Context**
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const mockParent = {
49
49
updaterId : "updater_1" ,
50
50
} ;
51
51
52
- describe ( "Chat.updatedAt resolver" , ( ) => {
52
+ describe ( "Chat.updater resolver" , ( ) => {
53
53
let authenticatedContext : ReturnType <
54
54
typeof createMockGraphQLContext
55
55
> [ "context" ] ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type MockUser = {
16
16
} > ;
17
17
} ;
18
18
19
- describe ( "Event Updated At Resolver Tests" , ( ) => {
19
+ describe ( "Event UpdatedAt Resolver Tests" , ( ) => {
20
20
let ctx : GraphQLContext ;
21
21
let mockEvent : EventType ;
22
22
let mocks : ReturnType < typeof createMockGraphQLContext > [ "mocks" ] ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const MockEvent = {
25
25
updaterId : "updater_1" ,
26
26
} ;
27
27
28
- describe ( "Chat.updatedAt resolver" , ( ) => {
28
+ describe ( "Event updater resolver - Tests " , ( ) => {
29
29
let authenticatedContext : ReturnType <
30
30
typeof createMockGraphQLContext
31
31
> [ "context" ] ;
You can’t perform that action at this time.
0 commit comments