Skip to content

commit inicial

commit inicial #1

Triggered via push March 6, 2024 10:36
Status Failure
Total duration 33s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
test
Process completed with exit code 1.
test
Something went wrong: Error: Request to create annotations failed - request: {"owner":"enBrixio","repo":"S3.-Entrega-testing","head_sha":"ac2ecefae4b612a3afa2e9caef70615e8df0f8aa","name":"Jest","conclusion":"failure","output":{"title":"Jest Test Results","summary":"#### These are all the test results I was able to find from your jest-junit reporter\n**37** tests were completed in **0.685s** with **14** passed ✔ and **23** failed ✖ tests.","annotations":[{"path":"./tests/films.spec.js","title":"Function \"getAllDirectors\" > should return an array","start_line":19,"end_line":21,"annotation_level":"failure","message":"Error: expect(received).toBe(expected) // Object.is equality\nExpected: true\nReceived: false\n\nStacktrace:\n at Object.toBe (tests/films.spec.js:20:54)\n at Promise.then.completed (node_modules/jest-circus/build/utils.js:298:28)\n at callAsyncCircusFn (node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (node_modules/jest-circus/build/run.js:316:40)\n at _runTest (node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (node_modules/jest-circus/build/run.js:121:9)\n at run (node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (node_modules/jest-runner/build/runTest.js:444:34)"},{"path":"./tests/films.spec.js","title":"Function \"getAllDirectors\" > should return a new array with the same length as the original one","start_line":27,"end_line":50,"annotation_level":"failure","message":"Error: expect(received).toEqual(expected) // deep equality\nExpected: [\"Stanley Kubrick\", \"Quentin Tarantino\"]\nReceived: \"\"\n\nStacktrace:\n at Object.toEqual (tests/films.spec.js:46:38)\n at Promise.then.completed (node_modules/jest-circus/build/utils.js:298:28)\n at callAsyncCircusFn (node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (node_modules/jest-circus/build/run.js:316:40)\n at _runTest (node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (node_modules/jest-circus/build/run.js:121:9)\n at run (node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (node_modules/jest-runner/build/runTest.js:444:34)"},{"path":"./tests/films.spec.js","title":"Function \"getMoviesFromDirector\" > should return an array","start_line":59,"end_line":61,"annotation_level":"failure","message":"Error: expect(received).toBe(expected) // Object.is equality\nExpected: true\nReceived: false\n\nStacktrace:\n at Object.toBe (tests/films.spec.js:60:60)\n at Promise.then.completed (node_modules/jest-circus/build/utils.js:298:28)\n at callAsyncCircusFn (node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (node_modules/jest-circus/build/run.js:316:40)\n at _runTest (node_modules/jest-circus/build/run.js:252:3)\n at _runTestsForDescribeBlock (node_modules/jest-circus/build/run.js:126:9)\n at _runTestsForDescribeBlock (node_modules/jest-circus/build/run.js:121:9)\n at run (node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (nod
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, IgnusG/jest-report-action@v2.3.3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, IgnusG/jest-report-action@v2.3.3. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/