Update entries.component.spec.ts

This commit is contained in:
shamoon 2024-11-06 13:18:23 -08:00
parent 02ff7bd55e
commit 6ffc86554f
No known key found for this signature in database

View File

@ -47,6 +47,8 @@ describe('EntriesComponent', () => {
const newValue = { key1: 'value1', key2: 'value2' }
component.writeValue(newValue)
expect(component.entries).toEqual(Object.entries(newValue))
component.writeValue(null)
expect(component.entries).toEqual([])
})
it('should correctly generate the value on input change', () => {