Add mocha and chai test framework

  - Mocha/Chai/Sinon test frameowrk because it has 100% feature parity with vue-loader.
  - Code for making 'expect' function accessible globally.

Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: Idf809cb08d8c1ef177ff92f0ee1be04ac74059a3
diff --git a/package.json b/package.json
index b2a2423..6ecc41c 100644
--- a/package.json
+++ b/package.json
@@ -6,10 +6,10 @@
   "scripts": {
     "serve": "vue-cli-service serve",
     "build": "vue-cli-service build",
-    "test:unit": "vue-cli-service test:unit",
+    "test:unit": "vue-cli-service test:unit --require tests/setup.js",
     "lint": "vue-cli-service lint",
-    "docs:serve": "vuepress dev docs",
     "docs:build": "vuepress build docs",
+    "docs:serve": "vuepress dev docs",
     "i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'"
   },
   "dependencies": {
@@ -20,6 +20,8 @@
     "core-js": "3.3.2",
     "js-cookie": "^2.2.1",
     "lodash": "4.17.15",
+    "sinon": "9.0.1",
+    "sinon-chai": "3.5.0",
     "vue": "2.6.11",
     "vue-i18n": "8.15.3",
     "vue-router": "3.1.3",
@@ -31,16 +33,20 @@
     "@vue/cli-plugin-babel": "4.0.0",
     "@vue/cli-plugin-eslint": "4.0.5",
     "@vue/cli-plugin-router": "4.0.0",
-    "@vue/cli-plugin-unit-jest": "4.0.0",
+    "@vue/cli-plugin-unit-mocha": "4.2.3",
     "@vue/cli-plugin-vuex": "4.0.0",
     "@vue/cli-service": "4.0.0",
     "@vue/eslint-config-prettier": "5.0.0",
-    "@vue/test-utils": "1.0.0-beta.29",
+    "@vue/test-utils": "1.0.0-beta.31",
     "babel-eslint": "10.0.3",
+    "chai": "4.1.2",
     "compression-webpack-plugin": "3.0.1",
     "eslint": "5.16.0",
     "eslint-plugin-prettier": "3.1.1",
     "eslint-plugin-vue": "5.0.0",
+    "expect": "25.1.0",
+    "jsdom": "16.2.1",
+    "jsdom-global": "3.0.2",
     "lint-staged": "9.4.2",
     "node-sass": "4.13.1",
     "prettier": "1.18.2",