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

Fix ci #767

Merged
merged 4 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions frontend/craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
config.testTimeout = 30_000;
config.transformIgnorePatterns = [
'<rootDir>/node_modules/(?!@codegouvfr)/.+\\.js$',
'<rootDir>/node_modules/.store/(?!@codegouvfr)/.+\\.js$',
];
return config;
},
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/views/HousingList/HousingListView.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ describe('Housing list view', () => {
await user.click(button);
const modal = await screen.findByRole('dialog');
const input = await within(modal).findByLabelText(
'Identifiant du logement',
'Identifiant du logement (obligatoire)',
);
await user.type(input, datafoncierHousing.idlocal);
await user.click(within(modal).getByText('Confirmer'));
Expand Down Expand Up @@ -409,7 +409,7 @@ describe('Housing list view', () => {
await user.click(button);
const modal = await screen.findByRole('dialog');
const input = await within(modal).findByLabelText(
'Identifiant du logement',
'Identifiant du logement (obligatoire)',
);
await user.type(input, localId);
await user.click(within(modal).getByText('Confirmer'));
Expand Down Expand Up @@ -455,7 +455,7 @@ describe('Housing list view', () => {
await user.click(button);
const modal = await screen.findByRole('dialog');
const input = await within(modal).findByLabelText(
'Identifiant du logement',
'Identifiant du logement (obligatoire)',
);
await user.type(input, datafoncierHousing.idlocal);
await user.click(within(modal).getByText('Confirmer'));
Expand Down
4 changes: 2 additions & 2 deletions server/src/test/testFixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ export const genAddressApi = (
street: faker.location.street(),
postalCode: faker.location.zipCode(),
city: faker.location.city(),
latitude: faker.address.latitude(),
longitude: faker.address.longitude(),
latitude: faker.location.latitude(),
longitude: faker.location.longitude(),
score: Math.random(),
};
};
Expand Down