Guest User

Untitled

a guest
Mar 8th, 2021
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  FAIL  tests/unit/components/CreateRestaurant.spec.js
  2.   ● Console
  3.  
  4.     console.error node_modules/vue/dist/vue.runtime.common.dev.js:621
  5.       [Vue warn]: Error in render: "TypeError: Cannot read property 'component' of undefined"
  6.  
  7.       found in
  8.  
  9.       ---> <VIcon>
  10.              <VAlert>
  11.                <Anonymous>
  12.                  <Root>
  13.     console.error node_modules/vue/dist/vue.runtime.common.dev.js:1884
  14.       TypeError: Cannot read property 'component' of undefined
  15.           at remapInternalIcon (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\util\helpers.ts:225:39)
  16.           at VueComponent.getIcon (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\components\VIcon\VIcon.ts:72:31)
  17.           at Proxy.render (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\components\VIcon\VIcon.ts:217:23)
  18.           at VueComponent.Vue._render (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3538:22)
  19.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:21)
  20.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  21.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  22.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  23.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  24.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  25.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  26.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  27.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  28.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  29.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  30.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  31.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6455:7)
  32.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  33.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  34.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  35.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  36.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  37.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  38.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  39.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  40.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  41.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  42.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  43.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6455:7)
  44.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  45.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  46.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  47.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  48.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  49.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  50.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  51.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  52.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  53.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6494:9)
  54.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  55.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  56.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  57.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  58.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  59.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  60.           at mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\@vue\test-utils\dist\vue-test-utils.js:13977:21)
  61.           at Object.<anonymous> (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\tests\unit\components\CreateRestaurant.spec.js:33:19)
  62.           at Object.asyncJestLifecycle (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:53:37)
  63.           at C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:43:12
  64.           at new Promise (<anonymous>)
  65.           at mapper (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:26:19)
  66.           at C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:73:41
  67.           at processTicksAndRejections (internal/process/task_queues.js:93:5)
  68.     console.error node_modules/vue/dist/vue.runtime.common.dev.js:621
  69.       [Vue warn]: Error in render: "TypeError: Cannot read property 'component' of undefined"
  70.  
  71.       found in
  72.  
  73.       ---> <VIcon>
  74.              <VAlert>
  75.                <Anonymous>
  76.                  <Root>
  77.     console.error node_modules/vue/dist/vue.runtime.common.dev.js:1884
  78.       TypeError: Cannot read property 'component' of undefined
  79.           at remapInternalIcon (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\util\helpers.ts:225:39)
  80.           at VueComponent.getIcon (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\components\VIcon\VIcon.ts:72:31)
  81.           at Proxy.render (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\components\VIcon\VIcon.ts:217:23)
  82.           at VueComponent.Vue._render (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3538:22)
  83.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:21)
  84.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  85.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  86.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  87.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  88.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  89.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  90.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  91.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  92.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  93.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  94.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  95.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6455:7)
  96.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  97.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  98.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  99.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  100.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  101.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  102.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  103.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  104.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  105.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  106.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  107.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6455:7)
  108.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  109.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  110.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  111.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  112.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  113.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  114.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  115.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  116.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  117.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6494:9)
  118.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  119.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  120.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  121.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  122.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  123.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  124.           at mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\@vue\test-utils\dist\vue-test-utils.js:13977:21)
  125.           at Object.<anonymous> (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\tests\unit\components\CreateRestaurant.spec.js:33:19)
  126.           at Object.asyncJestLifecycle (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:53:37)
  127.           at C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:43:12
  128.           at new Promise (<anonymous>)
  129.           at mapper (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:26:19)
  130.           at C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:73:41
  131.           at processTicksAndRejections (internal/process/task_queues.js:93:5)
  132.     console.error node_modules/vue/dist/vue.runtime.common.dev.js:621
  133.       [Vue warn]: Error in render: "TypeError: Cannot read property 'component' of undefined"
  134.  
  135.       found in
  136.  
  137.       ---> <VIcon>
  138.              <VAlert>
  139.                <Anonymous>
  140.                  <Root>
  141.     console.error node_modules/vue/dist/vue.runtime.common.dev.js:1884
  142.       TypeError: Cannot read property 'component' of undefined
  143.           at remapInternalIcon (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\util\helpers.ts:225:39)
  144.           at VueComponent.getIcon (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\components\VIcon\VIcon.ts:72:31)
  145.           at Proxy.render (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vuetify\dist\webpack:\Vuetify\src\components\VIcon\VIcon.ts:217:23)
  146.           at VueComponent.Vue._render (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3538:22)
  147.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:21)
  148.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  149.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  150.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  151.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  152.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  153.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  154.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  155.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  156.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  157.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  158.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  159.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6455:7)
  160.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  161.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  162.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  163.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  164.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  165.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  166.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  167.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  168.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  169.           at createChildren (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6033:9)
  170.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5934:9)
  171.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6455:7)
  172.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  173.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  174.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  175.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  176.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  177.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  178.           at init (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3112:13)
  179.           at createComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5958:9)
  180.           at createElm (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:5905:9)
  181.           at VueComponent.patch [as __patch__] (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:6494:9)
  182.           at VueComponent.Vue._update (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:3933:19)
  183.           at VueComponent.updateComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4054:10)
  184.           at Watcher.get (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4465:25)
  185.           at new Watcher (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4454:12)
  186.           at mountComponent (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:4061:3)
  187.           at VueComponent.Object.<anonymous>.Vue.$mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\vue\dist\vue.runtime.common.dev.js:8392:10)
  188.           at mount (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\@vue\test-utils\dist\vue-test-utils.js:13977:21)
  189.           at Object.<anonymous> (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\tests\unit\components\CreateRestaurant.spec.js:33:19)
  190.           at Object.asyncJestLifecycle (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:53:37)
  191.           at C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:43:12
  192.           at new Promise (<anonymous>)
  193.           at mapper (C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:26:19)
  194.           at C:\Users\kjabd\Projects\outsidein.dev\opinion-ate\node_modules\jest-jasmine2\build\queueRunner.js:73:41
  195.           at processTicksAndRejections (internal/process/task_queues.js:93:5)
  196.  
  197.   ● CreateRestaurant › when the form is submitted › dispatches the create action
  198.  
  199.     TypeError: Cannot read property 'component' of undefined
  200.  
  201.       31 |         const div = document.createElement('div')
  202.       32 |         document.body.appendChild(div)
  203.     > 33 |         wrapper = mount(CreateRestaurant, {
  204.          |                   ^
  205.       34 |             localVue,
  206.       35 |             store,
  207.       36 |             attachTo: div
  208.  
  209.       at remapInternalIcon (node_modules/vuetify/dist/webpack:/Vuetify/src/util/helpers.ts:225:39)
  210.       at VueComponent.getIcon (node_modules/vuetify/dist/webpack:/Vuetify/src/components/VIcon/VIcon.ts:72:31)
  211.       at Proxy.render (node_modules/vuetify/dist/webpack:/Vuetify/src/components/VIcon/VIcon.ts:217:23)
  212.       at VueComponent.Vue._render (node_modules/vue/dist/vue.runtime.common.dev.js:3538:22)
  213.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:21)
  214.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  215.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  216.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  217.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  218.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  219.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  220.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  221.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  222.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  223.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  224.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  225.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6455:7)
  226.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  227.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  228.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  229.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  230.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  231.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  232.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  233.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  234.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  235.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  236.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  237.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6455:7)
  238.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  239.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  240.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  241.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  242.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  243.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  244.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  245.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  246.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  247.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6494:9)
  248.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  249.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  250.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  251.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  252.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  253.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  254.       at mount (node_modules/@vue/test-utils/dist/vue-test-utils.js:13977:21)
  255.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:33:19)
  256.  
  257.   ● CreateRestaurant › when the form is submitted › dispatches the create action
  258.  
  259.     TypeError: Cannot read property 'find' of undefined
  260.  
  261.       45 |         beforeEach(() => {
  262.       46 |             wrapper
  263.     > 47 |                 .find('[data-testid="new-restaurant-name-field"]')
  264.          |                  ^
  265.       48 |                 .setValue(restaurantName)
  266.       49 |             wrapper
  267.       50 |                 .find('[data-testid="new-restaurant-submit-button"]')
  268.  
  269.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:47:18)
  270.  
  271.   ● CreateRestaurant › when the form is submitted › dispatches the create action
  272.  
  273.     expect(create).toHaveBeenCalledWith(...expected)
  274.  
  275.     Expected: Anything, "Sushi Place"
  276.  
  277.     Number of calls: 0
  278.  
  279.       53 |
  280.       54 |         it('dispatches the create action', () => {
  281.     > 55 |             expect(restaurantsModule.actions.create).toHaveBeenCalledWith(
  282.          |                                                      ^
  283.       56 |                 expect.anything(),
  284.       57 |                 restaurantName
  285.       58 |             )
  286.  
  287.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:55:54)
  288.  
  289.   ● CreateRestaurant › when the form is submitted › dispatches the create action
  290.  
  291.     TypeError: Cannot read property 'destroy' of undefined
  292.  
  293.       39 |
  294.       40 |     afterEach(() => {
  295.     > 41 |         wrapper.destroy()
  296.          |                 ^
  297.       42 |     })
  298.       43 |
  299.       44 |     describe('when the form is submitted', () => {
  300.  
  301.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:41:17)
  302.  
  303.   ● CreateRestaurant › when the form is submitted › clears the name input
  304.  
  305.     TypeError: Cannot read property 'component' of undefined
  306.  
  307.       31 |         const div = document.createElement('div')
  308.       32 |         document.body.appendChild(div)
  309.     > 33 |         wrapper = mount(CreateRestaurant, {
  310.          |                   ^
  311.       34 |             localVue,
  312.       35 |             store,
  313.       36 |             attachTo: div
  314.  
  315.       at remapInternalIcon (node_modules/vuetify/dist/webpack:/Vuetify/src/util/helpers.ts:225:39)
  316.       at VueComponent.getIcon (node_modules/vuetify/dist/webpack:/Vuetify/src/components/VIcon/VIcon.ts:72:31)
  317.       at Proxy.render (node_modules/vuetify/dist/webpack:/Vuetify/src/components/VIcon/VIcon.ts:217:23)
  318.       at VueComponent.Vue._render (node_modules/vue/dist/vue.runtime.common.dev.js:3538:22)
  319.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:21)
  320.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  321.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  322.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  323.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  324.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  325.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  326.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  327.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  328.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  329.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  330.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  331.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6455:7)
  332.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  333.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  334.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  335.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  336.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  337.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  338.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  339.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  340.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  341.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  342.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  343.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6455:7)
  344.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  345.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  346.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  347.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  348.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  349.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  350.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  351.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  352.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  353.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6494:9)
  354.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  355.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  356.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  357.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  358.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  359.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  360.       at mount (node_modules/@vue/test-utils/dist/vue-test-utils.js:13977:21)
  361.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:33:19)
  362.  
  363.   ● CreateRestaurant › when the form is submitted › clears the name input
  364.  
  365.     TypeError: Cannot read property 'find' of undefined
  366.  
  367.       45 |         beforeEach(() => {
  368.       46 |             wrapper
  369.     > 47 |                 .find('[data-testid="new-restaurant-name-field"]')
  370.          |                  ^
  371.       48 |                 .setValue(restaurantName)
  372.       49 |             wrapper
  373.       50 |                 .find('[data-testid="new-restaurant-submit-button"]')
  374.  
  375.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:47:18)
  376.  
  377.   ● CreateRestaurant › when the form is submitted › clears the name input
  378.  
  379.     TypeError: Cannot read property 'find' of undefined
  380.  
  381.       60 |
  382.       61 |         it('clears the name input', () => {
  383.     > 62 |             expect(wrapper.find('[data-testid="new-restaurant-name-field"]').element.value)
  384.          |                            ^
  385.       63 |                 .toEqual('')
  386.       64 |         })
  387.       65 |     })
  388.  
  389.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:62:28)
  390.  
  391.   ● CreateRestaurant › when the form is submitted › clears the name input
  392.  
  393.     TypeError: Cannot read property 'destroy' of undefined
  394.  
  395.       39 |
  396.       40 |     afterEach(() => {
  397.     > 41 |         wrapper.destroy()
  398.          |                 ^
  399.       42 |     })
  400.       43 |
  401.       44 |     describe('when the form is submitted', () => {
  402.  
  403.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:41:17)
  404.  
  405.   ● CreateRestaurant › when the form is submitted but the name input is empty › displays a validation error
  406.  
  407.     TypeError: Cannot read property 'component' of undefined
  408.  
  409.       31 |         const div = document.createElement('div')
  410.       32 |         document.body.appendChild(div)
  411.     > 33 |         wrapper = mount(CreateRestaurant, {
  412.          |                   ^
  413.       34 |             localVue,
  414.       35 |             store,
  415.       36 |             attachTo: div
  416.  
  417.       at remapInternalIcon (node_modules/vuetify/dist/webpack:/Vuetify/src/util/helpers.ts:225:39)
  418.       at VueComponent.getIcon (node_modules/vuetify/dist/webpack:/Vuetify/src/components/VIcon/VIcon.ts:72:31)
  419.       at Proxy.render (node_modules/vuetify/dist/webpack:/Vuetify/src/components/VIcon/VIcon.ts:217:23)
  420.       at VueComponent.Vue._render (node_modules/vue/dist/vue.runtime.common.dev.js:3538:22)
  421.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:21)
  422.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  423.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  424.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  425.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  426.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  427.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  428.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  429.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  430.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  431.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  432.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  433.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6455:7)
  434.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  435.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  436.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  437.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  438.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  439.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  440.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  441.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  442.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  443.       at createChildren (node_modules/vue/dist/vue.runtime.common.dev.js:6033:9)
  444.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5934:9)
  445.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6455:7)
  446.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  447.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  448.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  449.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  450.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  451.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  452.       at init (node_modules/vue/dist/vue.runtime.common.dev.js:3112:13)
  453.       at createComponent (node_modules/vue/dist/vue.runtime.common.dev.js:5958:9)
  454.       at createElm (node_modules/vue/dist/vue.runtime.common.dev.js:5905:9)
  455.       at VueComponent.patch [as __patch__] (node_modules/vue/dist/vue.runtime.common.dev.js:6494:9)
  456.       at VueComponent.Vue._update (node_modules/vue/dist/vue.runtime.common.dev.js:3933:19)
  457.       at VueComponent.updateComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4054:10)
  458.       at Watcher.get (node_modules/vue/dist/vue.runtime.common.dev.js:4465:25)
  459.       at new Watcher (node_modules/vue/dist/vue.runtime.common.dev.js:4454:12)
  460.       at mountComponent (node_modules/vue/dist/vue.runtime.common.dev.js:4061:3)
  461.       at VueComponent.Object.<anonymous>.Vue.$mount (node_modules/vue/dist/vue.runtime.common.dev.js:8392:10)
  462.       at mount (node_modules/@vue/test-utils/dist/vue-test-utils.js:13977:21)
  463.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:33:19)
  464.  
  465.   ● CreateRestaurant › when the form is submitted but the name input is empty › displays a validation error
  466.  
  467.     TypeError: Cannot read property 'find' of undefined
  468.  
  469.       68 |         beforeEach(() => {
  470.       69 |             wrapper
  471.     > 70 |                 .find('[data-testid="new-restaurant-name-field"]')
  472.          |                  ^
  473.       71 |                 .setValue('')
  474.       72 |             wrapper
  475.       73 |                 .find('[data-testid="new-restaurant-submit-button"]')
  476.  
  477.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:70:18)
  478.  
  479.   ● CreateRestaurant › when the form is submitted but the name input is empty › displays a validation error
  480.  
  481.     TypeError: Cannot read property 'find' of undefined
  482.  
  483.       76 |
  484.       77 |         it('displays a validation error', () => {
  485.     > 78 |             expect(wrapper.find('[data-testid="new-restaurant-name-error"]').text())
  486.          |                            ^
  487.       79 |                 .toContain('Please enter a restaurant name')
  488.       80 |
  489.       81 |         })
  490.  
  491.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:78:28)
  492.  
  493.   ● CreateRestaurant › when the form is submitted but the name input is empty › displays a validation error
  494.  
  495.     TypeError: Cannot read property 'destroy' of undefined
  496.  
  497.       39 |
  498.       40 |     afterEach(() => {
  499.     > 41 |         wrapper.destroy()
  500.          |                 ^
  501.       42 |     })
  502.       43 |
  503.       44 |     describe('when the form is submitted', () => {
  504.  
  505.       at Object.<anonymous> (tests/unit/components/CreateRestaurant.spec.js:41:17)
  506.  
  507. Test Suites: 1 failed, 2 passed, 3 total
  508. Tests:       3 failed, 17 passed, 20 total
  509. Snapshots:   0 total
  510. Time:        5.262s
  511. Ran all test suites.
  512.  
  513. Watch Usage: Press w to show more.
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×