Bun Import, Require, and Test Svelte Components with Bun Test
import, require, and test Svelte components with bun test
Install
npx skills add jarle/bun-skills --skill Bun import, require, and test Svelte components with bun testgit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-guides-test-svelte-test ~/.claude/skills/Bun-import-require-and-test-Svelte-components-with-bun-testPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# import, require, and test Svelte components with bun test
Bun's [Plugin API](/runtime/plugins) lets you add custom loaders to your project. The `test.preload` option in `bunfig.toml` lets you configure your loader to start before your tests run.
Firstly, install `@testing-library/svelte`, `svelte`, and `@happy-dom/global-registrator`.
```bash terminal icon="terminal" theme={"theme":{"light":"github-light","dark":"dracula"}}
bun add @testing-library/svelte svelte@4 @happy-dom/global-registrator
```
Then, save this plugin in your project.Details
- Skill name
Bun import, require, and test Svelte components with bun test- Repository
- jarle/bun-skills
- Path
skills/bun-guides-test-svelte-test/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Import, Require, and Test Svelte Components with Bun Test skill do?
import, require, and test Svelte components with bun test
How do I install the Bun Import, Require, and Test Svelte Components with Bun Test skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun import, require, and test Svelte components with bun test. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Import, Require, and Test Svelte Components with Bun Test popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun Lifecycle Hooks
9jarle/bun-skills
Learn how to use beforeAll, beforeEach, afterEach, and afterAll lifecycle hooks in Bun tests
Bun Generate Code Coverage Reports with the Bun Test Runner
9jarle/bun-skills
Generate code coverage reports with the Bun test runner
Bun Mocks
9jarle/bun-skills
Learn how to create and use mock functions, spies, and module mocks in Bun tests
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.