npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@getkist/action-jest

v1.0.10

Published

Jest test runner action for kist

Readme

@getkist/action-jest

Jest test runner action for kist build tool.

npm version License: MIT

Features

  • Jest Integration - Run Jest tests as part of your kist build pipeline
  • Full Configuration - Support for all Jest CLI options
  • Coverage Reports - Built-in coverage threshold support
  • Watch Mode - Development-friendly watch mode integration
  • Parallel Execution - Control worker allocation for test runs

Installation

npm install --save-dev @getkist/action-jest

Usage

Basic Test Run

Add to your kist.yml:

pipeline:
    stages:
        - name: test
          steps:
              - name: run-tests
                action: JestAction

With Coverage

pipeline:
    stages:
        - name: test
          steps:
              - name: run-tests-with-coverage
                action: JestAction
                options:
                    coverage: true
                    coverageReporters:
                        - text
                        - lcov
                    coverageThresholdLines: 80
                    coverageThresholdBranches: 70

Custom Configuration

pipeline:
    stages:
        - name: test
          steps:
              - name: unit-tests
                action: JestAction
                options:
                    configPath: ./jest.config.js
                    testPathPattern: "src/**/*.test.ts"
                    runInBand: true
                    verbose: true
                    bail: 1

Action: JestAction

Runs Jest tests with configurable options.

Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | configPath | string | - | Path to Jest config file | | testMatch | string[] | - | Test file patterns to run | | testPathPattern | string | - | Regex pattern for test file paths | | watch | boolean | false | Run in watch mode | | watchAll | boolean | false | Run all tests when watch detects changes | | coverage | boolean | false | Generate coverage report | | coverageReporters | string[] | - | Coverage reporters (text, lcov, html, etc.) | | coverageThresholdBranches | number | - | Minimum branch coverage % | | coverageThresholdFunctions | number | - | Minimum function coverage % | | coverageThresholdLines | number | - | Minimum line coverage % | | coverageThresholdStatements | number | - | Minimum statement coverage % | | runInBand | boolean | false | Run tests serially | | maxWorkers | number/string | - | Max parallel workers | | onlyChanged | boolean | false | Only run tests for changed files | | bail | boolean/number | false | Stop after N failures | | updateSnapshot | boolean | false | Update snapshots | | clearMocks | boolean | false | Clear mocks between tests | | resetMocks | boolean | false | Reset mocks between tests | | verbose | boolean | false | Verbose output | | silent | boolean | false | Suppress console output | | forceExit | boolean | false | Force Jest to exit after tests | | detectOpenHandles | boolean | false | Detect open handles preventing exit | | passWithNoTests | boolean | false | Pass when no tests found | | reporters | string[] | - | Custom Jest reporters | | projects | string[] | - | Projects to run | | roots | string[] | - | Test root directories | | setupFilesAfterEnv | string[] | - | Setup files to run after env | | testEnvironment | string | - | Test environment (node, jsdom) | | testTimeout | number | - | Test timeout in ms | | globals | object | - | Global variables | | moduleNameMapper | object | - | Module path mappings |

Requirements

  • Node.js >= 20.0.0
  • kist >= 0.1.58

License

MIT