Vue單元測試

Vue單元測試 簡單的斷言 編寫可被測試的組件 斷言異步更新 簡單的斷言 你沒必要爲了可測性在組件中作任何特殊的操做,導出原始設置就能夠了:html <template> <span>{{ message }}</span> </template> <script> export default { data () { return { message:
相關文章
相關標籤/搜索