Ejercicio 3 #4
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":"8a4eeea7a2232888151da871d04486d4ea11ea05","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.72s** with **20** passed ✔ and **17** failed ✖ tests.","annotations":[{"path":"./tests/films.spec.js","title":"Function \"orderAlphabetically\" > should return an array","start_line":151,"end_line":153,"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:152:44)\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 \"orderAlphabetically\" > should only return the title of the movies, each value should be a string","start_line":161,"end_line":163,"annotation_level":"failure","message":"TypeError: Cannot read property '0' of undefined\n\n\nStacktrace:\n at Object.<anonymous> (tests/films.spec.js:162:58)\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 \"orderAlphabetically\" > should return all of items when the array passed has fewer than 20 items","start_line":165,"end_line":168,"annotation_level":"failure","message":"Error: expect(received).toHaveLength(expected)\nMatcher error: received value must have a length property whose value must be a number\n\nReceived has value: undefined\n\nStacktrace:\n at Object.toHaveLength (tests/films.spec.js:167:44)\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
|
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/
|