Ejercicio 4 #5
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":"6e76fa52a957c383b62ee7a95034be8a301a8b45","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.645s** with **25** passed ✔ and **12** failed ✖ tests.","annotations":[{"path":"./tests/films.spec.js","title":"Function \"orderByYear\" > should return an array","start_line":259,"end_line":261,"annotation_level":"failure","message":"Error: expect(received).toBe(expected) // Object.is equality\nExpected: \"object\"\nReceived: \"undefined\"\n\nStacktrace:\n at Object.toBe (tests/films.spec.js:260:40)\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 \"orderByYear\" > should return the element in a single element array","start_line":268,"end_line":270,"annotation_level":"failure","message":"Error: expect(received).toEqual(expected) // deep equality\nExpected: [{\"year\": 1982}]\nReceived: undefined\n\nStacktrace:\n at Object.toEqual (tests/films.spec.js:269:43)\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 \"orderByYear\" > should return the new array in ascending order","start_line":272,"end_line":276,"annotation_level":"failure","message":"Error: expect(received).toEqual(expected) // deep equality\nExpected: [{\"year\": 1982}, {\"year\": 1995}, {\"year\": 2002}]\nReceived: undefined\n\nStacktrace:\n at Object.toEqual (tests/films.spec.js:275:7)\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-runne
|
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/
|