Bun Import, Require, and Test Svelte Components with Bun Test

import, require, and test Svelte components with bun test

9 stars 1 forksTesting & QA

Install

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
Manual install
git 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-test

Personal 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.
Read the full skill on GitHub

Details

Skill name
Bun import, require, and test Svelte components with bun test
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

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.