first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import { getNativeElementProps } from './getNativeElementProps';
describe('getNativeElementProps', function () {
it('can filter native element properties', function () {
expect(getNativeElementProps('div', { id: '123', checked: true })).toEqual({ id: '123' });
expect(getNativeElementProps('input', { id: '123', checked: true })).toEqual({ id: '123', checked: true });
expect(getNativeElementProps('input', { id: '123', checked: true }, ['id'])).toEqual({ checked: true });
});
});
//# sourceMappingURL=getNativeElementProps.test.js.map