Przeglądaj źródła

:recycle: added ava for frontend test | removed groupings attribute from chatter

tags/0.0.1^2
J 3 lat temu
rodzic
commit
982fb4de13

+ 1003
- 0
frontend/package-lock.json
Plik diff jest za duży
Wyświetl plik


+ 1
- 0
frontend/package.json Wyświetl plik

22
         "@prettier/plugin-pug": "^1.19.2",
22
         "@prettier/plugin-pug": "^1.19.2",
23
         "@vitejs/plugin-vue": "^2.2.4",
23
         "@vitejs/plugin-vue": "^2.2.4",
24
         "@vue/compiler-sfc": "^3.2.31",
24
         "@vue/compiler-sfc": "^3.2.31",
25
+        "ava": "^4.3.3",
25
         "cross-env": "^7.0.3",
26
         "cross-env": "^7.0.3",
26
         "eslint": "^8.11.0",
27
         "eslint": "^8.11.0",
27
         "eslint-config-prettier": "^8.5.0",
28
         "eslint-config-prettier": "^8.5.0",

+ 0
- 4
frontend/src/services/chat.service.js Wyświetl plik

58
      * @return {Chatter} our chatter instance object
58
      * @return {Chatter} our chatter instance object
59
      */
59
      */
60
     constructor() {
60
     constructor() {
61
-        // Map of each active chat
62
-        // * this is where we will store all of our groupings on from the backend on user login...
63
-        this.groupings = {}
64
-
65
         // Our pubnub instance
61
         // Our pubnub instance
66
         this.provider = null
62
         this.provider = null
67
 
63
 

Ładowanie…
Anuluj
Zapisz