---
title: "@heroku-cli/test-utils 2.0.0 Breaking Changes on npm"
description: "What each @heroku-cli/test-utils release removed, renamed or changed: 12 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@heroku-cli/test-utils
last_updated: 2026-12-04
---

# @heroku-cli/test-utils breaking changes

@heroku-cli/test-utils 2.0.0 (October 29, 2026) is its newest release with breaking changes, 6 of them. The first: Upgrades vitest, eslint and eslint-config-oclif to new major versions in @heroku-cli/test-utils 2.0.0. Every breaking API change we have recorded in @heroku-cli/test-utils on npm: 12 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.1.1`. [Source repository](https://github.com/heroku/heroku-cli-test-utils)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 9 breaking changes in 2 versions.
- From [0.3.0](#v-0-3-0) to [2.0.0](#v-2-0-0): 10 breaking changes in 3 versions.

## @heroku-cli/test-utils 2.0.0 breaking changes

@heroku-cli/test-utils 2.0.0, released October 29, 2026: 6 breaking changes.

- **Behavior changed**  

The release upgrades to vitest 5, eslint 10 and eslint-config-oclif 7, which is listed as a breaking change for existing setups. [github.com](https://github.com/heroku/heroku-cli-test-utils/releases/tag/test-utils-v2.0.0)
- **Signature changed** `eslint-config:default`  

Was const \_default: any\[\]; now const herokuEslintConfig: any\[\]. [npmjs.com](https://www.npmjs.com/package/@heroku-cli/test-utils/v/2.0.0)
- **Signature changed** `eslint-config/mocha:default`  

Was const \_default: {files: string\[\]; rules: {'mocha/no-exclusive-tests': string;};}\[\]; now const mochaOverlay: {files: string\[\]; rules: {'mocha/no-exclusive-tests': string;};}\[\]. [npmjs.com](https://www.npmjs.com/package/@heroku-cli/test-utils/v/2.0.0)
- **Signature changed** `eslint-config/vitest:default`  

Was const \_default: ({rules: {\[k: string\]: string;}; files?: undefined; languageOptions?: undefined; plugins?: undefined;} | {files: string\[\]; languageOptions: {globals: {readonly suite: true; readonly test: true; readonly describe: true... [npmjs.com](https://www.npmjs.com/package/@heroku-cli/test-utils/v/2.0.0)
- **Signature changed** `eslintConfig`  

Was const \_default: any\[\]; now const herokuEslintConfig: any\[\]. [npmjs.com](https://www.npmjs.com/package/@heroku-cli/test-utils/v/2.0.0)
- **Signature changed** `GenericCmd`  

Was type GenericCmd = {new (argv: string\[\], config: Interfaces.Config): CommandInstance;} | {prototype: CommandInstance;}; now type GenericCmd = (new (argv: string\[\], config: Interfaces.Config) => CommandInstance) | {prototype... [npmjs.com](https://www.npmjs.com/package/@heroku-cli/test-utils/v/2.0.0)

## @heroku-cli/test-utils 2.0.0-beta.0 breaking changes

@heroku-cli/test-utils 2.0.0-beta.0, released October 29, 2026: 3 breaking changes.

- **Removed**  

The package no longer supports Node 20 and requires Node >=22.12.0. Users on Node 20 must upgrade Node before using this version. [github.com](https://github.com/heroku/heroku-cli-test-utils/releases/tag/test-utils-v2.0.0-beta.0)
- **Behavior changed**  

The release lists support for vitest-based consumers as a breaking change, so existing test setups may need updating. [github.com](https://github.com/heroku/heroku-cli-test-utils/releases/tag/test-utils-v2.0.0-beta.0)
- **Behavior changed**  

The package is now ESM and uses the ESLint 9 flat config, which can break code that loads it with require or relies on the old ESLint setup. [github.com](https://github.com/heroku/heroku-cli-test-utils/releases/tag/test-utils-v2.0.0-beta.0)

## @heroku-cli/test-utils 1.0.0 breaking changes

@heroku-cli/test-utils 1.0.0, released June 11, 2026: 1 breaking change.

- **Signature changed** `eslint-config/vitest:default`  

Was const \_default: ({rules: {\[k: string\]: string;}; files?: undefined; languageOptions?: undefined; plugins?: undefined;} | {files: string\[\]; languageOptions: {globals: any;}; plugins: {vitest: any;}; rules: any;})\[\]; now const \_default... [npmjs.com](https://www.npmjs.com/package/@heroku-cli/test-utils/v/1.0.0)

## @heroku-cli/test-utils 0.3.0 breaking changes

@heroku-cli/test-utils 0.3.0, released May 14, 2026: 2 breaking changes.

- **Behavior changed**  

The release adds support for vitest-based consumers and is flagged as breaking, but the notes do not name the affected APIs. Check your test setup when upgrading from 0.2.0. [github.com](https://github.com/heroku/heroku-cli-test-utils/releases/tag/test-utils-v0.3.0)
- **Signature changed** `expectOutput`  

Was const expectOutput: (actual: string, expected: string) => Chai.Assertion; now const expectOutput: (actual: string, expected: string) => void. [npmjs.com](https://www.npmjs.com/package/@heroku-cli/test-utils/v/0.3.0)

## Related packages

- [@heroku-cli/schema](https://since.dev/packages/npm/@heroku-cli/schema.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
