mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +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'", () => {
|
||||
beforeEach(() => {
|
||||
locale = 'de'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user