You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building and running the app it runs fine, but using nest e2e testing package to bundle the app and run tests on it I get the following error for all e2e tests
TypeError: (0 , core_1.useEngine) is not a function
59 |
60 | jwtVerifySpy.mockImplementation(() => true);
> 61 | await app.init();
| ^
62 | });
63 |
64 | beforeEach(() => {
at new YogaServer (node_modules/.pnpm/graphql-yoga@5.10.6_graphql@16.9.0/node_modules/graphql-yoga/cjs/server.js:108:34)
at createYoga (node_modules/.pnpm/graphql-yoga@5.10.6_graphql@16.9.0/node_modules/graphql-yoga/cjs/server.js:385:20)
at YogaFederationDriver.registerExpress (node_modules/.pnpm/@graphql-yoga+nestjs@3.7.0_@nestjs+common@10.4.15_class-transformer@0.5.1_class-validator@0.1_oxo2rmvaldwsgk6mcmonczfv2u/node_modules/@graphql-yoga/nestjs/dist/cjs/index.js:45:52)
at YogaFederationDriver.start (node_modules/.pnpm/@graphql-yoga+nestjs@3.7.0_@nestjs+common@10.4.15_class-transformer@0.5.1_class-validator@0.1_oxo2rmvaldwsgk6mcmonczfv2u/node_modules/@graphql-yoga/nestjs/dist/cjs/index.js:21:25)
at YogaFederationDriver.start (node_modules/.pnpm/@graphql-yoga+nestjs-federation@3.7.0_@graphql-tools+utils@10.6.4_graphql@16.9.0__@nestjs+com_jwbcq27ulnu7k2ibeiv5o5vu7a/node_modules/@graphql-yoga/nestjs-federation/dist/cjs/index.js:30:21)
at GraphQLModule.onModuleInit (node_modules/.pnpm/@nestjs+graphql@12.2.0_@apollo+subgraph@2.9.3_graphql@16.9.0__@nestjs+common@10.4.15_class-tr_qzb5r5le62br7g32us6xbyzc5q/node_modules/@nestjs/graphql/dist/graphql.module.js:123:36)
at async callModuleInitHook (node_modules/.pnpm/@nestjs+core@10.4.15_@nestjs+common@10.4.15_class-transformer@0.5.1_class-validator@0.14.1_re_d3isqskvgxfv552ewapjkdxmvq/node_modules/@nestjs/core/hooks/on-module-init.hook.js:51:9)
at async Proxy.callInitHook (node_modules/.pnpm/@nestjs+core@10.4.15_@nestjs+common@10.4.15_class-transformer@0.5.1_class-validator@0.14.1_re_d3isqskvgxfv552ewapjkdxmvq/node_modules/@nestjs/core/nest-application-context.js:234:13)
at async Proxy.init (node_modules/.pnpm/@nestjs+core@10.4.15_@nestjs+common@10.4.15_class-transformer@0.5.1_class-validator@0.14.1_re_d3isqskvgxfv552ewapjkdxmvq/node_modules/@nestjs/core/nest-application.js:100:9)
at async Object.<anonymous> (src/external-accounts/external-accounts.resolver.e2e.ts:61:5)
Steps to Reproduce the Bug or Issue
Run e2e tests
Expected behavior
e2e to compile the app fine like production
Screenshots or Videos
Platform
OS: [macOS]
NodeJS: [20.18.0]
@graphql-yoga/* version(s): [5.10.6]
"@graphql-yoga/nestjs-federation": ["3.7.0"]
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When building and running the app it runs fine, but using nest e2e testing package to bundle the app and run tests on it I get the following error for all e2e tests
Steps to Reproduce the Bug or Issue
Run e2e tests
Expected behavior
e2e to compile the app fine like production
Screenshots or Videos
Platform
@graphql-yoga/*
version(s): [5.10.6]"@graphql-yoga/nestjs-federation"
: ["3.7.0"]Additional context
No response
The text was updated successfully, but these errors were encountered: