Repository navigation
Expand file tree
/
Copy pathtest-results.json
More file actions
1 lines (1 loc) · 16.2 KB
/
Copy pathtest-results.json
File metadata and controls
1 lines (1 loc) · 16.2 KB
1
{"numFailedTestSuites":1,"numFailedTests":1,"numPassedTestSuites":2,"numPassedTests":10,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":3,"numTotalTests":11,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1748072525260,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should format 0 seconds correctly","location":null,"status":"passed","title":"should format 0 seconds correctly"},{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should format 59 seconds correctly","location":null,"status":"passed","title":"should format 59 seconds correctly"},{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should format 60 seconds (1 minute) correctly","location":null,"status":"passed","title":"should format 60 seconds (1 minute) correctly"},{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should format 150 seconds (2 minutes 30 seconds) correctly","location":null,"status":"passed","title":"should format 150 seconds (2 minutes 30 seconds) correctly"},{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should handle NaN by returning 00:00","location":null,"status":"passed","title":"should handle NaN by returning 00:00"},{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should handle undefined by treating as NaN and returning 00:00","location":null,"status":"passed","title":"should handle undefined by treating as NaN and returning 00:00"},{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should format 3600 seconds (60 minutes) correctly","location":null,"status":"passed","title":"should format 3600 seconds (60 minutes) correctly"},{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should format 65 seconds (1 minute 5 seconds) correctly","location":null,"status":"passed","title":"should format 65 seconds (1 minute 5 seconds) correctly"},{"ancestorTitles":["formatTime"],"failureMessages":[],"fullName":"formatTime should format 3599 seconds (59 minutes 59 seconds) correctly","location":null,"status":"passed","title":"should format 3599 seconds (59 minutes 59 seconds) correctly"}],"endTime":1748072527569,"message":"","name":"/app/src/utils/formatTime.test.js","startTime":1748072526485,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":["TestingLibraryElementError: Unable to find an element with the text: /learn react/i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\nIgnored nodes: comments, script, style\n\u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"min-h-screen bg-gradient-to-b from-indigo-900 via-purple-900 to-pink-800 flex flex-col items-center justify-center p-4\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<header\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"mb-8 text-center\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<h1\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-4xl font-bold text-white mb-2\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mAudio Visualizer\u001b[0m\n \u001b[36m</h1>\u001b[39m\n \u001b[36m<p\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-xl text-indigo-200\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mExperience your music visually\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m</header>\u001b[39m\n \u001b[36m<main\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"w-full max-w-4xl\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"flex flex-col items-center justify-center p-8 bg-gradient-to-b from-indigo-700 via-purple-700 to-pink-700 rounded-lg shadow-2xl text-white min-h-[300px] w-full max-w-2xl mx-auto my-10\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<h2\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-2xl font-bold mb-4\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mAudio Visualization Not Available\u001b[0m\n \u001b[36m</h2>\u001b[39m\n \u001b[36m<svg\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-yellow-400 mb-4\"\u001b[39m\n \u001b[33mfill\u001b[39m=\u001b[32m\"none\"\u001b[39m\n \u001b[33mheight\u001b[39m=\u001b[32m\"48\"\u001b[39m\n \u001b[33mstroke\u001b[39m=\u001b[32m\"currentColor\"\u001b[39m\n \u001b[33mstroke-linecap\u001b[39m=\u001b[32m\"round\"\u001b[39m\n \u001b[33mstroke-linejoin\u001b[39m=\u001b[32m\"round\"\u001b[39m\n \u001b[33mstroke-width\u001b[39m=\u001b[32m\"2\"\u001b[39m\n \u001b[33mviewBox\u001b[39m=\u001b[32m\"0 0 24 24\"\u001b[39m\n \u001b[33mwidth\u001b[39m=\u001b[32m\"48\"\u001b[39m\n \u001b[33mxmlns\u001b[39m=\u001b[32m\"http://www.w3.org/2000/svg\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<path\u001b[39m\n \u001b[33md\u001b[39m=\u001b[32m\"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m<line\u001b[39m\n \u001b[33mx1\u001b[39m=\u001b[32m\"12\"\u001b[39m\n \u001b[33mx2\u001b[39m=\u001b[32m\"12\"\u001b[39m\n \u001b[33my1\u001b[39m=\u001b[32m\"9\"\u001b[39m\n \u001b[33my2\u001b[39m=\u001b[32m\"13\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m<line\u001b[39m\n \u001b[33mx1\u001b[39m=\u001b[32m\"12\"\u001b[39m\n \u001b[33mx2\u001b[39m=\u001b[32m\"12.01\"\u001b[39m\n \u001b[33my1\u001b[39m=\u001b[32m\"17\"\u001b[39m\n \u001b[33my2\u001b[39m=\u001b[32m\"17\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</svg>\u001b[39m\n \u001b[36m<p\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-center mb-2 px-4\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mUnfortunately, your browser or current environment does not fully support the Web Audio API needed for this visualizer.\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m<p\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-sm text-red-300 bg-black bg-opacity-20 px-3 py-1 rounded-md mt-2\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mDetails: \u001b[0m\n \u001b[0mKey audio features (e.g., createAnalyser, createBufferSource, decodeAudioData) are missing.\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m<p\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-sm mt-6\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mPlease try using a modern browser like Chrome, Firefox, Edge, or Safari.\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</main>\u001b[39m\n \u001b[36m<footer\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"mt-8 text-center text-indigo-200\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<p>\u001b[39m\n \u001b[0m© 2024 Audio Visualizer. All rights reserved.\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m</footer>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</div>\u001b[39m\n\u001b[36m</body>\u001b[39m\n at Object.getElementError (/app/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)\n at /app/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at /app/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at getByText (/app/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19)\n at Object.<anonymous> (/app/src/App.test.js:6:30)\n at Promise.then.completed (/app/node_modules/jest-circus/build/utils.js:391:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/app/node_modules/jest-circus/build/utils.js:316:10)\n at _callCircusTest (/app/node_modules/jest-circus/build/run.js:218:40)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at _runTest (/app/node_modules/jest-circus/build/run.js:155:3)\n at _runTestsForDescribeBlock (/app/node_modules/jest-circus/build/run.js:66:9)\n at run (/app/node_modules/jest-circus/build/run.js:25:3)\n at runAndTransformResultsToJestFormat (/app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:170:21)\n at jestAdapter (/app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:82:19)\n at runTestInternal (/app/node_modules/jest-runner/build/runTest.js:389:16)\n at runTest (/app/node_modules/jest-runner/build/runTest.js:475:34)\n at Object.worker (/app/node_modules/jest-runner/build/testWorker.js:133:12)"],"fullName":"renders learn react link","location":null,"status":"failed","title":"renders learn react link"}],"endTime":1748072527951,"message":" ● renders learn react link\n\n TestingLibraryElementError: Unable to find an element with the text: /learn react/i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m<body>\u001b[39m\n \u001b[36m<div>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"min-h-screen bg-gradient-to-b from-indigo-900 via-purple-900 to-pink-800 flex flex-col items-center justify-center p-4\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<header\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"mb-8 text-center\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<h1\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-4xl font-bold text-white mb-2\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mAudio Visualizer\u001b[0m\n \u001b[36m</h1>\u001b[39m\n \u001b[36m<p\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-xl text-indigo-200\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mExperience your music visually\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m</header>\u001b[39m\n \u001b[36m<main\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"w-full max-w-4xl\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<div\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"flex flex-col items-center justify-center p-8 bg-gradient-to-b from-indigo-700 via-purple-700 to-pink-700 rounded-lg shadow-2xl text-white min-h-[300px] w-full max-w-2xl mx-auto my-10\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<h2\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-2xl font-bold mb-4\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mAudio Visualization Not Available\u001b[0m\n \u001b[36m</h2>\u001b[39m\n \u001b[36m<svg\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-yellow-400 mb-4\"\u001b[39m\n \u001b[33mfill\u001b[39m=\u001b[32m\"none\"\u001b[39m\n \u001b[33mheight\u001b[39m=\u001b[32m\"48\"\u001b[39m\n \u001b[33mstroke\u001b[39m=\u001b[32m\"currentColor\"\u001b[39m\n \u001b[33mstroke-linecap\u001b[39m=\u001b[32m\"round\"\u001b[39m\n \u001b[33mstroke-linejoin\u001b[39m=\u001b[32m\"round\"\u001b[39m\n \u001b[33mstroke-width\u001b[39m=\u001b[32m\"2\"\u001b[39m\n \u001b[33mviewBox\u001b[39m=\u001b[32m\"0 0 24 24\"\u001b[39m\n \u001b[33mwidth\u001b[39m=\u001b[32m\"48\"\u001b[39m\n \u001b[33mxmlns\u001b[39m=\u001b[32m\"http://www.w3.org/2000/svg\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<path\u001b[39m\n \u001b[33md\u001b[39m=\u001b[32m\"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m<line\u001b[39m\n \u001b[33mx1\u001b[39m=\u001b[32m\"12\"\u001b[39m\n \u001b[33mx2\u001b[39m=\u001b[32m\"12\"\u001b[39m\n \u001b[33my1\u001b[39m=\u001b[32m\"9\"\u001b[39m\n \u001b[33my2\u001b[39m=\u001b[32m\"13\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m<line\u001b[39m\n \u001b[33mx1\u001b[39m=\u001b[32m\"12\"\u001b[39m\n \u001b[33mx2\u001b[39m=\u001b[32m\"12.01\"\u001b[39m\n \u001b[33my1\u001b[39m=\u001b[32m\"17\"\u001b[39m\n \u001b[33my2\u001b[39m=\u001b[32m\"17\"\u001b[39m\n \u001b[36m/>\u001b[39m\n \u001b[36m</svg>\u001b[39m\n \u001b[36m<p\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-center mb-2 px-4\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mUnfortunately, your browser or current environment does not fully support the Web Audio API needed for this visualizer.\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m<p\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-sm text-red-300 bg-black bg-opacity-20 px-3 py-1 rounded-md mt-2\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mDetails: \u001b[0m\n \u001b[0mKey audio features (e.g., createAnalyser, createBufferSource, decodeAudioData) are missing.\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m<p\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"text-sm mt-6\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[0mPlease try using a modern browser like Chrome, Firefox, Edge, or Safari.\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</main>\u001b[39m\n \u001b[36m<footer\u001b[39m\n \u001b[33mclass\u001b[39m=\u001b[32m\"mt-8 text-center text-indigo-200\"\u001b[39m\n \u001b[36m>\u001b[39m\n \u001b[36m<p>\u001b[39m\n \u001b[0m© 2024 Audio Visualizer. All rights reserved.\u001b[0m\n \u001b[36m</p>\u001b[39m\n \u001b[36m</footer>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</div>\u001b[39m\n \u001b[36m</body>\u001b[39m\n\n 4 | test('renders learn react link', () => {\n 5 | render(<App />);\n > 6 | const linkElement = screen.getByText(/learn react/i);\n | ^\n 7 | expect(linkElement).toBeInTheDocument();\n 8 | });\n 9 |\n\n at Object.getElementError (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)\n at node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at getByText (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19)\n at Object.<anonymous> (src/App.test.js:6:30)\n","name":"/app/src/App.test.js","startTime":1748072526556,"status":"failed","summary":""},{"assertionResults":[{"ancestorTitles":[],"failureMessages":[],"fullName":"renders AudioWaveformVisualization component","location":null,"status":"passed","title":"renders AudioWaveformVisualization component"}],"endTime":1748072528236,"message":"","name":"/app/src/components/AudioWaveformVisualization.test.js","startTime":1748072526460,"status":"passed","summary":""}],"wasInterrupted":false}