mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
block for tests
This commit is contained in:
parent
acba22040c
commit
b2d731a641
@ -6,7 +6,8 @@ const i18nMock = {
|
|||||||
|
|
||||||
const { amount, GDD } = loadFilters(i18nMock)
|
const { amount, GDD } = loadFilters(i18nMock)
|
||||||
|
|
||||||
describe('amount', () => {
|
describe('amount filters', () => {
|
||||||
|
describe('amount', () => {
|
||||||
it('returns empty string when called with null', () => {
|
it('returns empty string when called with null', () => {
|
||||||
expect(amount(null)).toBe('')
|
expect(amount(null)).toBe('')
|
||||||
})
|
})
|
||||||
@ -18,9 +19,9 @@ describe('amount', () => {
|
|||||||
it('returns a leading proper minus sign when called with negative value', () => {
|
it('returns a leading proper minus sign when called with negative value', () => {
|
||||||
expect(amount(-1)).toBe('− 1')
|
expect(amount(-1)).toBe('− 1')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('GDD', () => {
|
describe('GDD', () => {
|
||||||
it('returns empty string when called with null', () => {
|
it('returns empty string when called with null', () => {
|
||||||
expect(GDD(null)).toBe('')
|
expect(GDD(null)).toBe('')
|
||||||
})
|
})
|
||||||
@ -32,4 +33,5 @@ describe('GDD', () => {
|
|||||||
it('returns a leading proper minus sign when called with negative value', () => {
|
it('returns a leading proper minus sign when called with negative value', () => {
|
||||||
expect(GDD(-1)).toBe('− 1 GDD')
|
expect(GDD(-1)).toBe('− 1 GDD')
|
||||||
})
|
})
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user