Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[code-infra] Set up eslint-plugin-testing-library #14232

Merged
merged 18 commits into from
Aug 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Signed-off-by: Lukas Tyla <llukas.tyla@gmail.com>
  • Loading branch information
LukasTy authored Aug 16, 2024
commit 8be38a69aced7791bcef1ac21dd5453e17852e59
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ describe('<DateRangeCalendar />', () => {
});

describe('Performance', () => {
it('should only render the new start day when selecting a start day without a previously selected start day', async () => {
it('should only render the new start day when selecting a start day without a previously selected start day', () => {
const RenderCount = spy((props) => <DateRangePickerDay {...props} />);

render(
Expand All @@ -544,7 +544,7 @@ describe('<DateRangeCalendar />', () => {
expect(RenderCount.callCount - renderCountBeforeChange).to.equal(2); // 2 render * 1 day
});

it('should only render the day inside range when selecting the end day', async () => {
it('should only render the day inside range when selecting the end day', () => {
const RenderCount = spy((props) => <DateRangePickerDay {...props} />);

render(
Expand Down