mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
missing test case 'gibberish' for RelativeDateTime
This commit is contained in:
parent
54bfb17e31
commit
34faf9b8b3
@ -56,6 +56,16 @@ describe('RelativeDateTime', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
describe("locale == 'gibberish'", () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
locale = 'gibberish'
|
||||||
|
})
|
||||||
|
|
||||||
|
it('translates', () => {
|
||||||
|
expect(Wrapper().text()).toContain('today at')
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
describe("locale == 'de'", () => {
|
describe("locale == 'de'", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
locale = 'de'
|
locale = 'de'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user