drop/package.json
John Smith e8d2baf26d test: add Vue component integration tests for SkeletonCard + EmojiText
First Nuxt component tests in the project. Establishes the pattern
for testing visual primitives with @vue/test-utils + happy-dom
(both already in devDeps).

SkeletonCard (5 tests):
- default props render correctly
- custom message prop renders
- loading=true applies animate-pulse
- loading=false omits animate-pulse
- empty p tag when no message

EmojiText (3 tests):
- img renders with computed /api/v1/emoji URL
- correct inline-block + emoji classes
- re-renders when emoji prop changes

These components are the simplest hunks of UI in the codebase
(pure props, no external state). Future tests can build on this
pattern for more complex components.

After: 15 tests pass + 1 skipped (was 4 + 0).
2026-07-24 16:36:24 -04:00

13 lines
227 B
JSON

{
"name": "drop",
"private": true,
"packageManager": "pnpm@11.17.0",
"devDependencies": {
"fast-check": "^4.9.0",
"husky": "^9.1.7",
"lint-staged": "^17.2.0"
},
"scripts": {
"prepare": "husky"
}
}