Skip to content

Commit

Permalink
fix(backend): fix unit test for custom docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Jul 17, 2024
1 parent e10c1ca commit 13f9e40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const FIRST_SHEET_USAGERS = [
USAGER_NUMERO_DISTRIBUTION_SPECIALE: "",
USAGER_PHONE: "+33 6 06 06 06 06",
USAGER_PRENOM: "DOSSIER",
USAGER_REF: "6",
USAGER_CUSTOM_REF: "6",
USAGER_SURNOM: "TEST",
},
{
Expand Down Expand Up @@ -114,7 +114,7 @@ export const FIRST_SHEET_USAGERS = [
USAGER_NUMERO_DISTRIBUTION_SPECIALE: "",
USAGER_PHONE: "+33 6 06 06 06 06",
USAGER_PRENOM: "Sembat",
USAGER_REF: "5",
USAGER_CUSTOM_REF: "5",
USAGER_SURNOM: "",
},
];
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("renderStructureUsagersRows", () => {
{ ...USAGER_REFUS_MOCK },
];

it("Test", async () => {
it("Generate sheets", async () => {
const chips = renderStructureUsagersRows(usagers, STRUCTURE_MOCK);
expect(chips.firstSheetUsagers.length).toEqual(4);
expect(chips.firstSheetUsagers[1]).toEqual(FIRST_SHEET_USAGERS[0]);
Expand Down

0 comments on commit 13f9e40

Please sign in to comment.