Ejercicio 7 #8
Annotations
2 errors and 2 warnings
Run tests
Process completed with exit code 1.
|
Reports the results of tests
Something went wrong: Error: Request to create annotations failed - request: {"owner":"enBrixio","repo":"S3.-Entrega-testing","head_sha":"fadb9145981a74919b94a2cefaa7f3690c7e90fe","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**40** tests were completed in **0.606s** with **38** passed ✔ and **2** failed ✖ tests.","annotations":[{"path":"./tests/films.spec.js","title":"Function \"bestFilmOfYear\" > should return an array","start_line":379,"end_line":381,"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:380:59)\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 \"bestFilmOfYear\" > should return the best film of a year, searching in an array","start_line":387,"end_line":424,"annotation_level":"failure","message":"Error: expect(received).toEqual(expected) // deep equality\nExpected: [{\"director\": \"Stanley Kubrick\", \"duration\": \"1h 28min\", \"genre\": [\"Drama\", \"War\"], \"score\": 8.4, \"title\": \"Film2\", \"year\": 1957}]\nReceived: undefined\n\nStacktrace:\n at Object.toEqual (tests/films.spec.js:414: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)"}]}} - error: Resource not accessible by integration
|
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/.
|
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/
|
Loading