# champion/bun-playwright-runner-selection

Fix the error "Playwright Test did not expect test() to be called here" when a Playwright spec file is run with Bun's unit-test runner instead of the Playwright CLI. Use when: (1) a `*.spec.ts` file contains `import { test, expect } from '@playwright/test'`, (2) `bun test` was run on that file, and (3) the suite fails before any test runs. Run the suite with `bunx playwright test` instead.

- Author: Yashas (https://app.skillsync.com/champion)
- Price: Free
- Version: 1

## Files

- SKILL.md (3319 bytes)

## How to use it

1. Connect the Skillsync MCP server: https://app.skillsync.com/mcp (OAuth sign-in).
2. Add it to your library: https://app.skillsync.com/champion/bun-playwright-runner-selection
3. Load it with the get_skill tool: `get_skill("champion/bun-playwright-runner-selection")`, then follow its instructions.
