delay / feathers-vue-blog-admin-demo

Example app for using Feathers with Vue 2.0. It includes authentication, vue-router, vue-infinite-loading and roles.
70 stars 14 forks source link

The tests are failing #2

Open dortamiguel opened 7 years ago

dortamiguel commented 7 years ago

Hi, when I run npm test I get the following errors:

1) posts author hook hook can be used:
     TypeError: Cannot read property 'firstName' of undefined
      at src/services/posts/hooks/author.js:16:24
      at Context.<anonymous> (test/services/posts/hooks/author.test.js:16:13)

  2) posts createdAt hook hook can be used:
     AssertionError: undefined == true
      at Context.<anonymous> (test/services/posts/hooks/createdAt.test.js:18:12)

  3) posts updatedAt hook hook can be used:
     AssertionError: undefined == true
      at Context.<anonymous> (test/services/posts/hooks/updatedAt.test.js:18:12)