dillon1000/react

Commit

Add tests for ReactNativeAttributePayloadFabric.js (#29608)

## Summary

This PR add tests for `ReactNativeAttributePayloadFabric.js`.

It introduces `ReactNativeAttributePayloadFabric-test.internal.js`,
which is a copy-paste of `ReactNativeAttributePayload-test.internal.js`.

On top of that, there is a bunch of new test cases for the
`ReactNativeAttributePayloadFabric.create` function.

## How did you test this change?

```
yarn test packages/react-native-renderer
```
Browse files
Changed paths2 files
First-parent comparison
M packages/react-native-renderer/src/ReactNativeAttributePayloadFabric.js ModifiedA packages/react-native-renderer/src/__tests__/ReactNativeAttributePayloadFabric-test.internal.js Added
Patch

Files changed

Rendering syntax-highlighted changes…