11 Commits

Author SHA1 Message Date
Robert Schäfer
512ef672bf
feat: Introduce graphql image type (#3043)
* refactor(graphql): Introduce image type

* Undo changes to .travis.yml

* chore: Upgrade travis to node LTS

- URL is available since v10

* chore: use lts

Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
roschaefer
8c29ad947b Update vue-test-utils and follow updated docs
https://vue-test-utils.vuejs.org/guides/#writing-asynchronous-tests-using-nexttick-new
2020-01-11 00:37:22 +01:00
Alina Beck
77f4810ddc set up global localVue
by setting up localVue with all required plugins (such as styleguide and vuex)
in a separate testSetup file we can avoid doing this individually in all component tests
the testSetup is executed before each test suite, so each test file gets a fresh
instance of localVue
2019-11-20 12:31:40 +03:00
Matt Rider
8e96179b33 Remove unused prop, add error boundary handling 2019-06-04 08:57:22 -03:00
Matt Rider
5c6147ee47 Fix broken tests, revert changes to error watch property
- causing breaking change in the tests
2019-06-03 19:14:29 -03:00
aonomike
78100bec37 Add tests to upload error bug fix
Co-authored-by: mattwr18 <mattwr18@gmail.com>
2019-06-01 20:23:04 +03:00
Matt Rider
39d4771ce1 Fix lint 2019-05-24 08:48:52 -03:00
Matt Rider
cebd1046c7 Write cypress tests, show dropzone conditionally
- If it's the user's profile, show vueDropzone, if not show just the user's avatar
- apollo mutation is being called twice for drag and drop events
2019-05-24 01:26:37 -03:00
Matt Rider
d62f722381 Write component tests 2019-05-23 23:30:55 -03:00
Matt Rider
4ac8c7f06b Fix failing tests 2019-05-21 16:53:50 -03:00
Robert Schäfer
b7632ed1fa Follow "folder with spec and component" convention 2019-05-18 13:49:13 +02:00