Skip tests for DonationsInfo

- the functionality it's testing has been suspended. If we add back that
functionality, we should refactor the tests/stop skipping.
- Or maybe we can remove them in a separate PR??
This commit is contained in:
mattwr18 2020-01-10 10:35:12 +01:00
parent dae1062ad0
commit b2db5e6057

View File

@ -37,7 +37,7 @@ describe('DonationInfo.vue', () => {
).toBe('donations.donate-now')
})
it('creates a title from the current month and a translation string', () => {
it.skip('creates a title from the current month and a translation string', () => {
mocks.$t = jest.fn(() => 'Spenden für')
expect(Wrapper().vm.title).toBe('Spenden für Dezember')
})
@ -49,7 +49,7 @@ describe('DonationInfo.vue', () => {
})
describe('given german locale', () => {
it('creates a label from the given amounts and a translation string', () => {
it.skip('creates a label from the given amounts and a translation string', () => {
expect(mocks.$t).toBeCalledWith(
'donations.amount-of-total',
expect.objectContaining({
@ -65,7 +65,7 @@ describe('DonationInfo.vue', () => {
mocks.$i18n.locale = () => 'en'
})
it('creates a label from the given amounts and a translation string', () => {
it.skip('creates a label from the given amounts and a translation string', () => {
expect(mocks.$t).toBeCalledWith(
'donations.amount-of-total',
expect.objectContaining({