Skip to content

Commit 27a028f

Browse files
committed
test: fix snapshot
1 parent 4a091a2 commit 27a028f

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/__tests__/__snapshots__/directoryToAst-test.ts.snap

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,8 @@ Object {
6868
},
6969
"kind": "dir",
7070
"name": "auth",
71-
"namespaceConfig": Object {
72-
"absPath": "/Users/nodkz/www/_npm/graphql-compose-modules/src/__tests__/__testSchema__/query.auth/index.ts",
73-
"code": Object {
74-
"default": Object {
75-
"type": "NamespaceCustomTypeName",
76-
},
77-
},
71+
"namespaceConfig": ObjectContaining {
7872
"kind": "file",
79-
"name": "index",
8073
},
8174
},
8275
"field": ObjectContaining {

src/__tests__/directoryToAst-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ describe('directoryToAst()', () => {
2222
isLoggedIn: expect.objectContaining({ kind: 'file' }),
2323
nested: expect.objectContaining({ kind: 'dir' }),
2424
},
25+
namespaceConfig: expect.objectContaining({ kind: 'file' }),
2526
},
2627
field: expect.objectContaining({ kind: 'file' }),
2728
me: {

0 commit comments

Comments
 (0)