Skip to content

Commit

Permalink
Merge branch 'main' into BC-9127-update-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
NFriedo authored Mar 6, 2025
2 parents c9aa664 + 739432d commit 7d2d269
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
6 changes: 4 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"generate-client:common-cartridge": "openapi-generator-cli generate -c ./openapitools.json --generator-key common-cartridge-api"
},
"dependencies": {
"@braintree/sanitize-url": "^6.0.4",
"@braintree/sanitize-url": "^7.1.1",
"@ckeditor/ckeditor5-vue": "^5.1.0",
"@hpi-schul-cloud/ckeditor": "^1.2.0",
"@lumieducation/h5p-webcomponents": "^9.2.2",
Expand Down
5 changes: 2 additions & 3 deletions src/components/administration/AdminMigrationSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -401,12 +401,11 @@ export default defineComponent({
return subject;
};
const supportLink: ComputedRef<string> = computed(() =>
sanitizeUrl(
const supportLink: ComputedRef<string> = computed(
() =>
`mailto:${
envConfigModule.getAccessibilityReportEmail
}?subject=${getSubject()}`
)
);
const globalFeatureEnableLdapSyncDuringMigration: ComputedRef<boolean> =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ describe("LinkContentElement", () => {
ReturnType<typeof usePreviewGenerator>
>;

beforeAll(() => {
Object.defineProperty(URL, "canParse", {
value: jest.fn().mockReturnValue(true),
});
});

beforeEach(() => {
useBoardFocusHandlerMock =
createMock<ReturnType<typeof useBoardFocusHandler>>();
Expand Down

0 comments on commit 7d2d269

Please sign in to comment.