Skip to content

Commit

Permalink
chore(deps): bump pdfkit from 0.15.2 to 0.16.0 (#1574)
Browse files Browse the repository at this point in the history
* chore(deps): bump pdfkit from 0.15.2 to 0.16.0

Bumps [pdfkit](https://github.com/foliojs/pdfkit) from 0.15.2 to 0.16.0.
- [Release notes](https://github.com/foliojs/pdfkit/releases)
- [Changelog](https://github.com/foliojs/pdfkit/blob/master/CHANGELOG.md)
- [Commits](foliojs/pdfkit@v0.15.2...v0.16.0)

---
updated-dependencies:
- dependency-name: pdfkit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(addReason): add continued option as true

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: aaschlote <alex.schlote@digitalservice.bund.de>
  • Loading branch information
dependabot[bot] and aaschlote authored Jan 6, 2025
1 parent bb58e0c commit 1598f6d
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ describe("addReason", () => {
continued: true,
});

expect(mockDoc.text).toHaveBeenCalledWith(PASSIVE_VERB_TEXT);
expect(mockDoc.text).toHaveBeenCalledWith(PASSIVE_VERB_TEXT, {
continued: true,
});
});

it("should render document for annullierung claim", () => {
Expand All @@ -84,7 +86,9 @@ describe("addReason", () => {
continued: true,
});

expect(mockDoc.text).toHaveBeenCalledWith(PASSIVE_VERB_TEXT);
expect(mockDoc.text).toHaveBeenCalledWith(PASSIVE_VERB_TEXT, {
continued: true,
});
});

it("should render document for nichtbefoerderung claim", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const addReason = (
.font(FONTS_BUNDESSANS_REGULAR);

if (userData.bereich !== "nichtbefoerderung") {
doc.text(PASSIVE_VERB_TEXT);
doc.text(PASSIVE_VERB_TEXT, { continued: true });
}

doc.text(FINAL_COLON_SENTENCE);
Expand Down
Loading

0 comments on commit 1598f6d

Please sign in to comment.