Skip to content

Feat/nestjs cqrs

Feat/nestjs cqrs #118

GitHub Actions / Test:Unit failed Sep 17, 2024

Errors 3

Found 3 errors

Annotations

Check failure on line 32 in packages/nestjs-external-renderer/src/renderer/express-external-renderer.view.test.ts

See this annotation in the file changed.

@github-actions github-actions / Test:Unit

ExpressExternalRendererView

pass querie variables
Raw output
TypeError: _nodefetch.default.mockReturnValue is not a function
    at Object.mockReturnValue (/home/runner/work/nestjs/nestjs/packages/nestjs-external-renderer/src/renderer/express-external-renderer.view.test.ts:33:11)
    at Promise.then.completed (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:65:21)
    at runTestInternal (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 52 in packages/nestjs-external-renderer/src/renderer/express-external-renderer.view.test.ts

See this annotation in the file changed.

@github-actions github-actions / Test:Unit

ExpressExternalRendererView

pass data
Raw output
TypeError: _nodefetch.default.mockReturnValue is not a function
    at Object.mockReturnValue (/home/runner/work/nestjs/nestjs/packages/nestjs-external-renderer/src/renderer/express-external-renderer.view.test.ts:53:11)
    at Promise.then.completed (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:65:21)
    at runTestInternal (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 72 in packages/nestjs-external-renderer/src/renderer/express-external-renderer.view.test.ts

See this annotation in the file changed.

@github-actions github-actions / Test:Unit

ExpressExternalRendererView

pass headers
Raw output
TypeError: _nodefetch.default.mockReturnValue is not a function
    at Object.mockReturnValue (/home/runner/work/nestjs/nestjs/packages/nestjs-external-renderer/src/renderer/express-external-renderer.view.test.ts:73:11)
    at Promise.then.completed (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/nestjs/.yarn/berry/cache/jest-circus-npm-29.7.0-f7679858c6-10c0.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:65:21)
    at runTestInternal (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/nestjs/.yarn/berry/cache/jest-runner-npm-29.7.0-3bc9f82b58-10c0.zip/node_modules/jest-runner/build/testWorker.js:106:12)