We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d42bf5f commit 774c38eCopy full SHA for 774c38e
test/attributes-to-props.test.js
@@ -1,6 +1,10 @@
1
const attributesToProps = require('../lib/attributes-to-props');
2
const utilities = require('../lib/utilities');
3
4
+it('returns empty object is argument is undefined', () => {
5
+ expect(attributesToProps()).toEqual({});
6
+});
7
+
8
describe('attributesToProps with HTML attribute', () => {
9
it('converts attributes to React props', () => {
10
const attributes = {
0 commit comments