Skip to content

Commit 7e1e1de

Browse files
authored
feat: Clipboard manager (#1831)
* feat: ClipboardManager component * feat: add modal function * fix: ClipboardManager * docs: clipboard-manager page * fix: typo * fix: add theme, move styles to theme.ts * fix: detectSensitiveData prop * test: unit tests * test: update vite.config.ts * fix: put HighlightCompo out of P
1 parent a3fb283 commit 7e1e1de

31 files changed

+1962
-21
lines changed

e2e/extend.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ test("ButtonToggle page should have h1", async ({ page }) => {
66
expect(await page.textContent("h1")).toBe("Svelte Button Toggle");
77
});
88

9+
// ClipboardManager
10+
test("ClipboardManager page should have h1", async ({ page }) => {
11+
await page.goto("/docs/extend/clipboard-manager");
12+
expect(await page.textContent("h1")).toBe("Svelte Clipboard Manager");
13+
});
14+
15+
916
// CommandPalette
1017
test("CommandPalette page should have h1", async ({ page }) => {
1118
await page.goto("/docs/extend/command-palette");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"package": "svelte-kit sync && svelte-package && publint",
1919
"prepublishOnly": "npm run package",
2020
"test": "npm run test:e2e && npm run test:unit",
21-
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --ignore 'src/routes/testdir/*'",
21+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
2222
"check:ignore": "npx sv check --ignore 'src/routes/testdir,dist,build' --no-tsconfig",
2323
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
2424
"lint": "prettier --check . && eslint .",

0 commit comments

Comments
 (0)