Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev PR workflow 추가 #1

Merged
merged 6 commits into from
Jul 25, 2024
Merged

dev PR workflow 추가 #1

merged 6 commits into from
Jul 25, 2024

Conversation

bbbjihan
Copy link
Owner

No description provided.

@bbbjihan
Copy link
Owner Author

❌ Build Failed

@bbbjihan
Copy link
Owner Author

❌ Test Failed


> [email protected] test /home/runner/work/jihan-pro-front/jihan-pro-front
> vitest

�[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m

�[7m�[1m�[36m RUN �[39m�[22m�[27m �[36mv2.0.4�[39m �[90m/home/runner/work/jihan-pro-front/jihan-pro-front�[39m

 �[31m❯�[39m __tests__/main.test.tsx �[2m (�[22m�[2m1 test�[22m �[2m|�[22m �[31m1 failed�[39m�[2m)�[22m�[90m 24�[2mms�[22m�[39m
�[31m   �[31m×�[31m 샘플 테스트�[2m > �[22m렌더링 테스트�[39m
�[31m     → expected +0 to be -1 // Object.is equality�[39m

�[31m⎯⎯⎯⎯⎯⎯⎯�[1m�[7m Failed Tests 1 �[27m�[22m⎯⎯⎯⎯⎯⎯⎯�[39m

�[31m�[1m�[7m FAIL �[27m�[22m�[39m __tests__/main.test.tsx�[2m > �[22m샘플 테스트�[2m > �[22m렌더링 테스트
�[31m�[1mAssertionError�[22m: expected +0 to be -1 // Object.is equality�[39m

�[32m- Expected�[39m
�[31m+ Received�[39m

�[32m- -1�[39m
�[31m+ 0�[39m

�[36m �[2m❯�[22m __tests__/main.test.tsx:�[2m10:49�[22m�[39m
    �[90m  8| �[39m    �[35mconst�[39m $page �[33m=�[39m screen�[33m.�[39m�[34mgetByTestId�[39m(�[32m"test_div"�[39m)�[33m;�[39m
    �[90m  9| �[39m
    �[90m 10| �[39m    �[34mexpect�[39m($page�[33m.�[39minnerHTML�[33m.�[39m�[34mindexOf�[39m(�[32m"TestPage"�[39m))�[33m.�[39m�[34mtoBe�[39m(�[33m-�[39m�[34m1�[39m)�[33m;�[39m
    �[90m   | �[39m                                                �[31m^�[39m
    �[90m 11| �[39m  })�[33m;�[39m
    �[90m 12| �[39m})�[33m;�[39m

�[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯�[22m�[39m

�[2m Test Files �[22m �[1m�[31m1 failed�[39m�[22m�[90m (1)�[39m
�[2m      Tests �[22m �[1m�[31m1 failed�[39m�[22m�[90m (1)�[39m
�[2m   Start at �[22m 01:08:51
�[2m   Duration �[22m 814ms�[2m (transform 34ms, setup 0ms, collect 132ms, tests 24ms, environment 403ms, prepare 80ms)�[22m


::error file=/home/runner/work/jihan-pro-front/jihan-pro-front/__tests__/main.test.tsx,title=__tests__/main.test.tsx > 샘플 테스트 > 렌더링 테스트,line=10,column=49::AssertionError: expected +0 to be -1 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- -1%0A+ 0%0A%0A ❯ __tests__/main.test.tsx:10:49%0A%0A
 ELIFECYCLE  Test failed. See above for more details.

@bbbjihan bbbjihan merged commit 06bf539 into main Jul 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant