lazy load LinkBox and psl

This commit is contained in:
Samuel Newman
2025-12-11 11:54:32 +02:00
parent 4e3c3e9905
commit 6f67a446f3
4 changed files with 74 additions and 22 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
import {describe, expect, it} from '@jest/globals'
// co-located with LinkBox.tsx so we can lazy load PSL
import {splitApexDomain} from '../../../src/components/dialogs/LinkWarning/LinkBox'
import {
isPossiblyAUrl,
isTrustedUrl,
linkRequiresWarning,
splitApexDomain,
} from '../../../src/lib/strings/url-helpers'
describe('linkRequiresWarning', () => {