vue-cli-plugin-jest-puppeteer

0.1.5 • Public • Published

vue-cli-plugin-jest-puppeteer

In development!

This plugin configures your project with everything necessary to write E2E tests using Jest and Puppeteer:

  • adds jest, jest-puppeteer and puppeteer as dev-dependencies
  • adds the necessary config files
  • setups babel to support ES6 modules in the E2E test files
  • adds the test:e2e command to the package.json
  • adds a sample E2E test

Installation

Run the following command from your project's root folder: vue add jest-puppeteer

Adding the plugin will update your project as in:

Options (In development!)

  • e2e test folder location
  • package.json command name

Usage

Once installed, run the tests with npm run test:e2e.

Feel free to update the default settings

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i vue-cli-plugin-jest-puppeteer

    Weekly Downloads

    103

    Version

    0.1.5

    License

    MIT

    Unpacked Size

    8.71 kB

    Total Files

    15

    Last publish

    Collaborators

    • kaizendorks