Skip to content

Commit

Permalink
Fjerner 'Vi holder kontakten'
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrem committed Feb 1, 2024
1 parent c4005c6 commit afffb31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ export function utledDelMedBrukerTekst(

function hilsenTekst(veiledernavn?: string) {
const interessant = "Er dette aktuelt for deg? Gi meg tilbakemelding her i dialogen.";
return veiledernavn
? `${interessant}\n\nVi holder kontakten\nHilsen ${veiledernavn}`
: `${interessant}\n\nVi holder kontakten`;
return veiledernavn ? `${interessant}\n\nHilsen ${veiledernavn}` : `${interessant}`;
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ test.describe("Tiltaksgjennomføringsdetaljer", () => {
await page.getByTestId("deleknapp").click();
await expect(page.getByTestId("textarea_deletekst")).not.toContainText("Hei IHERDIG");
await expect(page.getByTestId("textarea_deletekst")).toContainText("Jedi Mester");
await expect(page.getByTestId("textarea_deletekst")).toContainText("Vi holder kontakten");
await expect(page.getByTestId("textarea_deletekst")).toContainText("Hilsen");

await page.getByTestId("endre-deletekst_btn").click();
await page.getByTestId("textarea_deletekst").fill("I am your father");
Expand Down

0 comments on commit afffb31

Please sign in to comment.