8 Commits

Author SHA1 Message Date
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
Alina Beck
63d223e368
Apply suggestions from code review
Co-Authored-By: Robert Schäfer <git@roschaefer.de>
2019-11-12 18:52:38 +03:00
mattwr18
8b5cd48d3c Translate success message, guard clause for no Donations 2019-11-12 15:33:21 +01:00
Alina Beck
982a02fc4f query donations data in donation info component 2019-11-12 14:24:46 +03:00
mattwr18
7d95809f6e Update test to ensure currency is shown by locale 2019-11-11 19:15:39 +01:00
Alina Beck
ffb3ff896e add tests for DonationInfo component (wip) 2019-11-11 17:36:04 +03:00
Alina Beck
d15a1a8105 style donations info for mobile 2019-11-11 15:57:29 +03:00
Alina Beck
f6de44b337 place donation info in separate component
compute title and label according to selected locale and donation values
2019-11-11 13:09:51 +03:00