diff --git a/jest.config-api.js b/jest.config-api.js index 35e09f60..69843715 100644 --- a/jest.config-api.js +++ b/jest.config-api.js @@ -1,7 +1,8 @@ module.exports = { - globalSetup: 'jest/api-setup.js', - globalTeardown: 'jest/api-teardown.js', - testPathIgnorePatterns: ['/.next/', '/node_modules/'], - testMatch: ['**/*.spec.ts'], - moduleDirectories: ['', 'node_modules'], + globalSetup: "jest/api-setup.js", + globalTeardown: "jest/api-teardown.js", + testPathIgnorePatterns: ["/.next/", "/node_modules/"], + testMatch: ["**/*.spec.ts"], + moduleDirectories: ["", "node_modules"], + testTimeout: 30000, }; diff --git a/jest.config.js b/jest.config.js index bba85f5c..cba537d7 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,7 +1,6 @@ module.exports = { - testMatch: ['**/*.spec.ts'], - testPathIgnorePatterns: [ - "/src/__tests__/api", - ], - moduleDirectories: ['', 'node_modules'], + testMatch: ["**/*.spec.ts"], + testPathIgnorePatterns: ["/src/__tests__/api"], + moduleDirectories: ["", "node_modules"], + testTimeout: 30000, }; diff --git a/src/services/faq/faq.ts b/src/services/faq/faq.ts index cbec9729..e00ee46d 100644 --- a/src/services/faq/faq.ts +++ b/src/services/faq/faq.ts @@ -6,6 +6,7 @@ import accompaniment from "./patient/accompaniment"; import begin from "./patient/begin"; import children from "./patient/children"; import difficulty from "./patient/difficulty"; +import eligibilityPatient from "./patient/eligibility"; import end from "./patient/end"; import information from "./patient/information"; import reimbursment from "./patient/reimbursment"; @@ -40,7 +41,7 @@ const items = [ { key: "psychologue", sections: [ - { faq: eligibility, title: "Éligibilité" }, + { faq: eligibilityPatient, title: "Éligibilité" }, { faq: registration, title: "Candidature" }, { faq: agreement, title: "Conventionnement avec l’Assurance Maladie" }, {