5 Commits

Author SHA1 Message Date
mattwr18
d375ebe7d9 Write test/refactor tests/resolvers/middleware
- write tests for userMiddleware
- checks the functionality of nodes/locations middleware
- refactor to not allow users to update to remove their name
  debatable whether we want that or not, but we do not allow users to
create accounts with no name, so we should be consistent, before we were
using neode to validate this, but we have are removing neode from
production code, so we must validate ourselves
- collate UpdateUser mutations to one
2019-12-12 18:14:47 +01:00
mattwr18
211bae6362 Fix lint 2019-10-08 22:42:41 +02:00
mattwr18
bced6983ea Fix lint, update tests
- to remove vue warnings
- favor one expectation per it block
2019-10-08 20:47:13 +02:00
ogerly
7cc139e879 add test embeds and links 2019-10-08 13:20:07 +02:00
mattwr18
da1df27799 Extract logic to EmbedComponent to separate concerns
- Co-authored-by: senderfm <dev@sender.fm>
2019-10-07 19:15:39 +02:00