๐Ÿ“š Reference


๐Ÿ“œ Chapter


โ€ฃ

@vue/test-utils

โ€ฃ

โ€ฃ

โ€ฃ

โ€ฃ

Pinia

nextTick()

msw

Vue Test Utils


Vue ์ธ์Šคํ„ด์Šค ์ƒ์„ฑ


import Vue from 'vue'
import RegisterPage form '@/views/RegisterPage'

// ์ƒ์„ฑ์ž ๊ธฐ๋ฐ˜
const Constructor = Vue.extend(ReigsterPage)
const vm = new Constructor().$mount

// VTU ์‚ฌ์šฉ
import { mount } form '@vue/test-utils'

const wrapper = mount(RegisterPage)