Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
chore: add test ui
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Dec 12, 2023
1 parent 1a45248 commit e257db8
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 7 deletions.
10 changes: 6 additions & 4 deletions demo/src/components/CodeExample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ onMounted(async () => {

<style scoped>
.code-block {
border: 1px solid #999;
border: 2px solid #343a40;
border-radius: 4px;
font-family: monospace;
}
.title {
background: #999;
color: #333;
padding: 0.25rem 1rem;
background: #343a40;
color: #868e96;
padding: 0.5rem 1rem calc(0.5rem + 2px);
}
.container {
Expand All @@ -47,6 +48,7 @@ pre {
}
pre code {
color: #adb5bd;
display: block;
background: none;
white-space: pre;
Expand Down
2 changes: 2 additions & 0 deletions packages/snippetz-plugin-undici/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
"scripts": {
"build": "vite build && tsc -p tsconfig.build.json",
"test": "vitest",
"test:ui": "vitest --ui",
"types:check": "tsc --noEmit --skipLibCheck"
},
"devDependencies": {
"@vitest/ui": "^1.0.4",
"@types/har-format": "^1.2.15",
"turbo": "^1.11.1",
"typescript": "^5.2.2",
Expand Down
2 changes: 2 additions & 0 deletions packages/snippetz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
"scripts": {
"build": "vite build && tsc -p tsconfig.build.json",
"test": "vitest",
"test:ui": "vitest --ui",
"types:check": "tsc --noEmit --skipLibCheck"
},
"devDependencies": {
"@vitest/ui": "^1.0.4",
"typescript": "^5.2.2",
"vite": "^5.0.0",
"vitest": "^1.0.4"
Expand Down
59 changes: 56 additions & 3 deletions pnpm-lock.yaml

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

0 comments on commit e257db8

Please sign in to comment.