Add playground example for layers #100
Annotations
7 errors and 1 warning
test/helpers/generate.test.ts > generate > Generates templates correctly for auto imported documents:
src/helpers/index.ts#L370
Error: ENOENT: no such file or directory, open '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql'
❯ Module.generate src/helpers/index.ts:370:25
❯ test/helpers/generate.test.ts:30:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql' }
|
test/helpers/generate.test.ts > generate > Generates templates correctly for auto imported documents using autoInlineFragments:
src/helpers/index.ts#L370
Error: ENOENT: no such file or directory, open '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql'
❯ Module.generate src/helpers/index.ts:370:25
❯ test/helpers/generate.test.ts:66:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql' }
|
test/helpers/generate.test.ts > generate > Generates templates correctly for provided documents:
src/helpers/index.ts#L370
Error: ENOENT: no such file or directory, open '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql'
❯ Module.generate src/helpers/index.ts:370:25
❯ test/helpers/generate.test.ts:97:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql' }
|
test/helpers/generate.test.ts > generate > Renders a table with information about all documents.:
src/helpers/index.ts#L370
Error: ENOENT: no such file or directory, open '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql'
❯ Module.generate src/helpers/index.ts:370:25
❯ test/helpers/generate.test.ts:125:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql' }
|
test/helpers/generate.test.ts > generate > Renders a table with information about all documents with errors.:
src/helpers/index.ts#L370
Error: ENOENT: no such file or directory, open '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql'
❯ Module.generate src/helpers/index.ts:370:25
❯ test/helpers/generate.test.ts:158:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql' }
|
test/helpers/getSchemaPath.test.ts > getSchemaPath > Returns the destination if the path is valid:
test/helpers/getSchemaPath.test.ts#L47
AssertionError: expected Error: Missing GraphQL schema. to deeply equal '/home/runner/work/nuxt-graphql-middle…'
- Expected:
"/home/runner/work/nuxt-graphql-middleware/nuxt-graphql-middleware/playground/schema.graphql"
+ Received:
[Error: Missing GraphQL schema.]
❯ test/helpers/getSchemaPath.test.ts:47:20
|
build (20.x)
Process completed with exit code 1.
|
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|