jest-playwright-webstorm-stub

    1.0.0 • Public • Published

    Jest Playwright Webstorm Stub

    Script substitutes the Jest package with Playwright launcher. It won't produce the best possible output as normal Jest tests, but at least test will run (when you click on > icon near test).

    This is a nasty hack for while https://youtrack.jetbrains.com/issue/WEB-51965#focus=Comments-27-5759458.0-0 is not fixed.

    Usage

    1. Script calls yarn e2e or npm run e2e script, so you should have one defined in scripts section of your package.json
    2. Add resolutions
    {
      "scripts": {
        "e2e": "playwright test --config=src/playwright.config.ts"
      },
      "resolutions": {
        "jest": "jest-playwright-webstorm-stub@1.0.0"
      }
    }

    Keywords

    none

    Install

    npm i jest-playwright-webstorm-stub

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.47 kB

    Total Files

    3

    Last publish

    Collaborators

    • kirill.konshin