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/src/i18n.js b/src/i18n.js
index 745d050..b06f48a 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -22,7 +22,7 @@
 
 export default new VueI18n({
   // Get default locale from local storage
-  locale: localStorage.getItem('storedLanguage'),
+  locale: window.localStorage.getItem('storedLanguage'),
   // Locales that don't exist will fallback to English
   fallbackLocale: 'en-US',
   // Falling back to fallbackLocale generates two console warnings