Skip to content

Commit

Permalink
Use reactInternals instead of reactInternalFiber
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha committed Jan 13, 2024
1 parent 8caf966 commit 4611093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_package/tests/ReactOnRails.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('ReactOnRails', () => {

document.body.innerHTML = '<div id="root"></div>';
// eslint-disable-next-line no-underscore-dangle
const actual = ReactOnRails.render('R1', {}, 'root')._reactInternalFiber.type;
const actual = ReactOnRails.render('R1', {}, 'root')._reactInternals.type;
expect(actual).toEqual(R1);
});

Expand Down

0 comments on commit 4611093

Please sign in to comment.