Skip to content

Commit

Permalink
鈱笍 chore: replace ts-ignore with ts-expect-error (#11573)
Browse files Browse the repository at this point in the history
* chore: replace ts-ignore with ts-expect-error

* chore: replace ts-ignore with ts-expect-error

---------

Co-authored-by: deep.golani <deep.golani@bfhl.in>
  • Loading branch information
deepgolani4 and deep.golani committed Mar 1, 2024
1 parent ec8a46e commit 215d633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/utils/unset.test.ts
Expand Up @@ -300,14 +300,14 @@ describe('unset', () => {
test: [{ firstName: 'test' }],
};

// @ts-ignore
// @ts-expect-error
test.test.root = {
test: 'message',
};

unset(test, 'test.0.firstName');

// @ts-ignore
// @ts-expect-error
expect(test.test.root).toBeDefined();
});
});
Expand Down

0 comments on commit 215d633

Please sign in to comment.