diff --git a/src/__tests__/__snapshots__/directoryToAst-test.ts.snap b/src/__tests__/__snapshots__/directoryToAst-test.ts.snap index 418e946..6825e63 100644 --- a/src/__tests__/__snapshots__/directoryToAst-test.ts.snap +++ b/src/__tests__/__snapshots__/directoryToAst-test.ts.snap @@ -68,15 +68,8 @@ Object { }, "kind": "dir", "name": "auth", - "namespaceConfig": Object { - "absPath": "/Users/nodkz/www/_npm/graphql-compose-modules/src/__tests__/__testSchema__/query.auth/index.ts", - "code": Object { - "default": Object { - "type": "NamespaceCustomTypeName", - }, - }, + "namespaceConfig": ObjectContaining { "kind": "file", - "name": "index", }, }, "field": ObjectContaining { diff --git a/src/__tests__/directoryToAst-test.ts b/src/__tests__/directoryToAst-test.ts index 85106a6..f92d31a 100644 --- a/src/__tests__/directoryToAst-test.ts +++ b/src/__tests__/directoryToAst-test.ts @@ -22,6 +22,7 @@ describe('directoryToAst()', () => { isLoggedIn: expect.objectContaining({ kind: 'file' }), nested: expect.objectContaining({ kind: 'dir' }), }, + namespaceConfig: expect.objectContaining({ kind: 'file' }), }, field: expect.objectContaining({ kind: 'file' }), me: {