Skip to content

Commit e3f7d2d

Browse files
committed
fix: test
1 parent 9183f15 commit e3f7d2d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

server/src/utils/misc.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ describe('getKeysDeep', () => {
1717
).toEqual(['foo', 'flag', 'count', 'date']);
1818
});
1919

20-
it('should skip undefined properties', () => {
21-
expect(getKeysDeep({ foo: 'bar', hello: undefined })).toEqual(['foo']);
22-
});
23-
2420
it('should skip array indices', () => {
2521
expect(getKeysDeep({ foo: 'bar', hello: ['foo', 'bar'] })).toEqual(['foo', 'hello']);
2622
expect(getKeysDeep({ foo: 'bar', nested: { hello: ['foo', 'bar'] } })).toEqual(['foo', 'nested.hello']);

web/src/lib/components/shared-components/settings/setting-input-field.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ describe('SettingInputField component', () => {
4646
expect(numberInput.value).toEqual('');
4747

4848
await user.click(document.body);
49-
expect(numberInput.value).toEqual('0');
49+
expect(numberInput.value).toEqual(undefined);
5050
});
5151
});

0 commit comments

Comments
 (0)