vitest ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์น์ extension ์ค์น, ํ ์คํธ ์ฝ๋ ์์ฑ๊น์ง ๋ชจ๋ ๋ค ํ ์ดํ, vitest extention์ ์ด์ฉํ์ฌ ํ ์คํธ๋ฅผ ์คํํ๋ ค๊ณ ํ ๋ ์๋ ์ด๋ฏธ์ง์ ๊ฐ์ด ํ ์คํธ ํญ๋ชฉ์ด ๋จ์ง ์๋ ์ค๋ฅ๊ฐ ์์๋ค.
ํด๋น ์ด์๋ฅผ ๊ฒช๊ณ ์๋ ์ฌ๋๋ค์ด ๊ฝค๋ ๋ง์ด ์๋ค.
https://github.com/vitest-dev/vscode/issues/196
Vitest extension completely non functional on mac · Issue #196 · vitest-dev/vscode
Describe the bug Vitest completely fails to work on any of my vitest repos To Reproduce Steps to reproduce the behavior on the example project: Open Vscode Install Vitest extension Go to 'testing' ...
github.com
ํด๊ฒฐ๋ฐฉ๋ฒ
1. vitest extension plugin downgrading( -> v0.10.7)
vitest plugin์์ '์ ๊ฑฐ' ์ค๋ฅธ์ชฝ์ ์๋ ๋๋กญ๋ค์ด ๋ฒํผ์ ํด๋ฆญํ๋ฉด 'ํน์ ๋ฒ์ ์ค์น' ๋ฒํผ์ ํด๋ฆญํ๊ณ v0.10.7 ๋ฒ์ ์ ์ค์นํด์ฃผ๋ฉด ๋๋ค.
2. vitest, @vitest/ui ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ฒ์ ์ค์
๋์ ๊ฒฝ์ฐ 1๋ฒ์ผ๋ก ํด๊ฒฐํ ์ ์์๋ค. ์ค์น๋ vitest, @vitest/ui ํจํค์ง์ ๋ฒ์ ์ v0.33.? ์ด์๋๋ฐ ํด๋น ๋ฒ์ ์ด ๋ฌธ์ ์๋ค.
์ฐพ์๋ณด๋ vitest์ @vitest/ui์ ๋ฒ์ ์ด 1.6.0์ด์ด์ผ ์ฌ๋ฐ๋ฅด๊ฒ ๋์ํ๋ค๊ณ ํ๋ค.
๋ฐ๋ผ์ ํจํค์ง์ ๋ฒ์ ์ 1.6.0์ผ๋ก ์ ๋ฐ์ดํธ ์์ผ์ฃผ์๋ค.
npm uninstall @vitest/ui
npm uninstall vitest
npm install @vitest/ui@1.6.0
npm install vitest@1.6.0
๋ฒ์ ์ ์ ์ค์ ํด์ฃผ๋ ํ ์คํธ๊ฐ ์ ๋๋ก ์คํ๋จ์ ํ์ธํ ์ ์๋ค.
'์ค๋ฅํด๊ฒฐ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[ํธ๋ฌ๋ธ์ํ ] Layout Shift ํด๊ฒฐํ๊ธฐ (1) | 2024.11.15 |
---|---|
[Docker] docker: Error response from daemon: Ports are not available | address already in use ํฌํธ์ถฉ๋ ํด๊ฒฐ (0) | 2024.09.20 |
[ํธ๋ฌ๋ธ์ํ ] vite+react-ts+tailwind ์๋์๋จ ํด๊ฒฐ (2) | 2024.08.16 |
[ํธ๋ฌ๋ธ์ํ ] Git ํ์ผ๋ช ๋์๋ฌธ์ ๋ณํ ์ธ์ ๋ถ๊ฐ ๋ฌธ์ (2) | 2024.08.14 |
Express.js CORS ์ค๋ฅ ํด๊ฒฐ (0) | 2024.07.28 |