Fix: some random frontend fixes and coverage

This commit is contained in:
shamoon
2024-12-04 16:31:16 -08:00
parent cb3c740030
commit 4e090fbc27
7 changed files with 49 additions and 18 deletions

View File

@@ -38,8 +38,10 @@ describe('SwitchComponent', () => {
expect(component.value).toBeFalsy()
})
it('should show note if unset', () => {
it('should correctly report unset', () => {
component.value = null
expect(component.isUnset).toBeTruthy()
component.value = undefined
expect(component.isUnset).toBeTruthy()
})
})