Skip to content

Commit ef3bc68

Browse files
committed
fixed naming conventions
1 parent 82c9a31 commit ef3bc68

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/docs/docs/developer-resources/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ There aren't any other strict structure requirements for the this directory.
6161

6262
### Mock GraphQL Context Factory Function
6363

64-
#### In Directory `test/MockContext/*`
64+
#### In Directory `test/_Mocks_/mockContextCreator`
6565

6666
#### **Purpose**
6767

@@ -72,7 +72,7 @@ The `createMockGraphQLContext` function provides a **fully mocked GraphQL contex
7272
#### **Importing the Mock Context**
7373

7474
```ts
75-
import { createMockGraphQLContext } from "test/MockContext/mockContextCreator";
75+
import { createMockGraphQLContext } from "test/_Mocks_/mockContextCreator";
7676
```
7777

7878
#### **Creating a Mock Context**

test/graphql/types/Chat/updater.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const mockParent = {
4949
updaterId: "updater_1",
5050
};
5151

52-
describe("Chat.updatedAt resolver", () => {
52+
describe("Chat.updater resolver", () => {
5353
let authenticatedContext: ReturnType<
5454
typeof createMockGraphQLContext
5555
>["context"];

test/graphql/types/Event/updatedAt.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type MockUser = {
1616
}>;
1717
};
1818

19-
describe("Event Updated At Resolver Tests", () => {
19+
describe("Event UpdatedAt Resolver Tests", () => {
2020
let ctx: GraphQLContext;
2121
let mockEvent: EventType;
2222
let mocks: ReturnType<typeof createMockGraphQLContext>["mocks"];

test/graphql/types/Event/updater.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const MockEvent = {
2525
updaterId: "updater_1",
2626
};
2727

28-
describe("Chat.updatedAt resolver", () => {
28+
describe("Event updater resolver - Tests", () => {
2929
let authenticatedContext: ReturnType<
3030
typeof createMockGraphQLContext
3131
>["context"];

0 commit comments

Comments
 (0)