mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Update entries.component.spec.ts
This commit is contained in:
parent
02ff7bd55e
commit
6ffc86554f
@ -47,6 +47,8 @@ describe('EntriesComponent', () => {
|
|||||||
const newValue = { key1: 'value1', key2: 'value2' }
|
const newValue = { key1: 'value1', key2: 'value2' }
|
||||||
component.writeValue(newValue)
|
component.writeValue(newValue)
|
||||||
expect(component.entries).toEqual(Object.entries(newValue))
|
expect(component.entries).toEqual(Object.entries(newValue))
|
||||||
|
component.writeValue(null)
|
||||||
|
expect(component.entries).toEqual([])
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should correctly generate the value on input change', () => {
|
it('should correctly generate the value on input change', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user