Skip to content

Commit

Permalink
refactor: removed duplicate words in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicachu42 committed Sep 27, 2022
1 parent 7eb8eed commit a7b363c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ describe('InspectedElement', () => {
`);
});

it('should support objects with with inherited keys', async () => {
it('should support objects with inherited keys', async () => {
const Example = () => null;

const base = Object.create(Object.prototype, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ describe('InspectedElementContext', () => {
});

// @reactVersion >= 16.0
it('should support objects with with inherited keys', async () => {
it('should support objects with inherited keys', async () => {
const Example = () => null;

const base = Object.create(Object.prototype, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ describe('ReactShallowRenderer with hooks', () => {
);
});

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

Expand Down

0 comments on commit a7b363c

Please sign in to comment.