lighthouse/docs/recipes/integration-test
Adam Raine c1895ac953
core: remove `plugins` audit (#15928)
2024-04-08 13:48:32 -07:00
..
.eslintrc.cjs misc: adopt minimal license headers (#15456) 2023-09-15 16:49:41 -07:00
README.md
example-lh-auth.test.js core: remove `plugins` audit (#15928) 2024-04-08 13:48:32 -07:00
package.json

README.md

Running Lighthouse on in Your Integration Jest Tests

See example-lh-auth.test.js for an example of how to run Lighthouse in your Jest tests on pages in both an authenticated and non-authenticated session. This recipe builds on the auth docs.

# Be in this folder: docs/recipes/integration-test

# Install deps.
yarn
yarn --cwd ../auth

# Test.
yarn test