@altano/vitest-plugins

Custom matchers and snapshot serializers to enhance vitest


License
ISC
Install
npm install @altano/vitest-plugins@0.0.2

Documentation

alan's npm package monorepo

npm Badge GitHub test action status GitHub commit activity

Development Environment

Built with Devbox

This repository has a devbox.json which means you can trivially create a development environment for it. That environment is also used in GitHub action workflows.

Read the Devbox quickstart or read more about why Devbox is fantastic on my website.

Playwright

The Playwright setup in this repository is a little finicky. When updating the version:

  • The version of @playwright/test in any package.json must be kept in sync with playwright-driver in devbox.json. Both should be precisely hard-coded (no semver ranges or 'latest').
  • The nixpkgs hash in devbox.lock for playwright-driver.browsers must be manually changed to match the hash for the playwright-driver entry or the browsers will be the wrong version and tests will fail.

Contributing

I don't expect any contributions to this repository but I will accept pull requests.

When submitting a pull request that should result in a version bump of a package, please include a changeset (run pnpm changeset before pushing).

Publishing Packages Process

A GitHub release action will automatically create a PR to release new versions of packages based on changesets merged into the main branch.