cooleditphoto
  • ARTS Week1
  • ARTS WEEK2
  • ARTS WEEK 3
  • ARTS WEEK 4
  • The techniques of DBMS that enable us to process queries efficiently
  • What I learned from the programming languages throughout the history
  • my React JS learning diary
  • Distributed System Reading
  • The first impressions when I started learning Clojure
  • My Notes of the Workshop: Malware Analysis 101
  • WIP: Zookeeper learning
  • 刘鹏王超 计算广告 读书笔记
  • leetcode动态规划小分类整理
  • React Topics
  • AWS topics
  • All the resources I have used in my react app
  • How I Built My First Full-Stack App
  • CI/CD/Test toolbox list
  • MIT 6.824
    • Introduction
  • You don't know JS notes
  • Javascript Asynchronous Programming
  • Jest and Vue Util Tests
  • Vuex and Mixins
  • Security basic
Powered by GitBook
On this page

Was this helpful?

Jest and Vue Util Tests

  1. Jest: https://jestjs.io/docs/getting-started

  2. Vue Test Utils: https://vue-test-utils.vuejs.org

a typical test file includes

wrapper

shallowmount/mount

describe('some condition here',()=>{});

BeforeEach

it('then what will happen',()=>{

//arrange

//act

/assert

});

PreviousJavascript Asynchronous ProgrammingNextVuex and Mixins

Last updated 3 years ago

Was this helpful?