Skip to content

Commit

Permalink
test: Fix viewport size for test for real (#3032) (CP: 24.5) (#3034)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaadin-bot authored Dec 17, 2024
1 parent 4c92082 commit 883f737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ts/react-crud/test/autoform.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,7 @@ describe('@vaadin/hilla-react-crud', () => {

describe('AutoFormDateField', () => {
it('formats and parses values using localized date format', async () => {
viewport.set(1000, 1000);
const service = personService();
const person = await getItem(service, 1);
const result = render(
Expand All @@ -1012,6 +1013,7 @@ describe('@vaadin/hilla-react-crud', () => {

describe('AutoFormDateTimeField', () => {
it('formats and parses values using localized date format', async () => {
viewport.set(1000, 1000);
const service = personService();
const person = await getItem(service, 1);
const result = render(
Expand Down

0 comments on commit 883f737

Please # to comment.