Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/nestjs validation #303

Merged
merged 19 commits into from
Sep 17, 2024

Merge remote-tracking branch 'origin/feat/nestjs-validation' into fea…

f5299f1
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Feat/nestjs validation #303

Merge remote-tracking branch 'origin/feat/nestjs-validation' into fea…
f5299f1
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test:Unit failed Sep 17, 2024 in 0s

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)