Skip to content

Commit a7b363c

Browse files
committed
refactor: removed duplicate words in tests
1 parent 7eb8eed commit a7b363c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/react-devtools-shared/src/__tests__/inspectedElement-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ describe('InspectedElement', () => {
889889
`);
890890
});
891891

892-
it('should support objects with with inherited keys', async () => {
892+
it('should support objects with inherited keys', async () => {
893893
const Example = () => null;
894894

895895
const base = Object.create(Object.prototype, {

packages/react-devtools-shared/src/__tests__/legacy/inspectElement-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ describe('InspectedElementContext', () => {
478478
});
479479

480480
// @reactVersion >= 16.0
481-
it('should support objects with with inherited keys', async () => {
481+
it('should support objects with inherited keys', async () => {
482482
const Example = () => null;
483483

484484
const base = Object.create(Object.prototype, {

packages/react-test-renderer/src/__tests__/ReactShallowRendererHooks-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ describe('ReactShallowRenderer with hooks', () => {
356356
);
357357
});
358358

359-
it('should work with with forwardRef + any hook', () => {
359+
it('should work with forwardRef + any hook', () => {
360360
const SomeComponent = React.forwardRef((props, ref) => {
361361
const randomNumberRef = React.useRef({number: Math.random()});
362362

0 commit comments

Comments
 (0)