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
+12
View File
@@ -0,0 +1,12 @@
define(["require", "exports", "./getNativeElementProps"], function (require, exports, getNativeElementProps_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
describe('getNativeElementProps', function () {
it('can filter native element properties', function () {
expect((0, getNativeElementProps_1.getNativeElementProps)('div', { id: '123', checked: true })).toEqual({ id: '123' });
expect((0, getNativeElementProps_1.getNativeElementProps)('input', { id: '123', checked: true })).toEqual({ id: '123', checked: true });
expect((0, getNativeElementProps_1.getNativeElementProps)('input', { id: '123', checked: true }, ['id'])).toEqual({ checked: true });
});
});
});
//# sourceMappingURL=getNativeElementProps.test.js.map