missing test case 'gibberish' for RelativeDateTime

This commit is contained in:
Ulf Gebhardt 2019-04-12 11:16:45 +02:00
parent 54bfb17e31
commit 34faf9b8b3
No known key found for this signature in database
GPG Key ID: 44C888923CC8E7F3

View File

@ -56,6 +56,16 @@ describe('RelativeDateTime', () => {
})
})
describe("locale == 'gibberish'", () => {
beforeEach(() => {
locale = 'gibberish'
})
it('translates', () => {
expect(Wrapper().text()).toContain('today at')
})
})
describe("locale == 'de'", () => {
beforeEach(() => {
locale = 'de'