Skip to content

Release 0.2.1 - #33

Merged
Huldoser merged 1 commit into
mainfrom
release-0.2.1
Oct 14, 2026
Merged

Huldoser merged 1 commit into
mainfrom
release-0.2.1

Conversation

@Huldoser

Copy link
Copy Markdown
Owner

What changed

Release 0.2.1, made with the steps by hand in CONTRIBUTING.md.

Patch Changes

  • #28 04ff6d2 - A skip in a catch block, such as context.skip() when a test server can't start, is conditional, with the catch clause as its condition, as in catch (error). It was recorded as an unconditional skip before. A test declared in a catch block gets isInCondition: true.

  • #32 3fcc933 - Globs match folders and files whose names start with a dot, as in .storybook/ or .github/scripts/, as they do in Playwright and Vitest; test files there were left out before. .git folders are always left out, like node_modules.

  • #31 631cc6b - Workspace packages are found from both pnpm-workspace.yaml and the workspaces of package.json. When a repository had both, as after a move to pnpm that kept the old list, only package.json was read, and a package listed only in pnpm-workspace.yaml got an unresolved-test-import error.

  • #30 968e2bc - A call through an imported name that reads like a test function is followed, and reported with unresolved-test-import when it can't be, also when it goes through a member the scan doesn't know, as in it.effect('title', fn) from @effect/vitest, or passes a timeout after the body, as in test('title', fn, 60_000). Such tests were missing before, with no diagnostic. A module's own export of a name now wins over the same name passed on by export *, as in JavaScript: export const it = ... next to export * from 'vitest' is no longer read as Vitest's it.

  • #28 04ff6d2 - Tests on a test object that a function returns are found, as in conditionalTest({ min: 22 })('title', fn) or const quoteTest = onNode(22), when the function is declared in the file or imported from a local file. They were missing before, with no diagnostic. When the function returns a different test function on different runs, as it.skip or it, only the modifiers they all have apply, as for a variable chosen by a condition. When the function can't be followed and its name reads like a test object, as for one from an installed package, the calls on what it returns are read as tests on trust, with a local-test-object warning.

Checklist

  • Tests cover the change, and npm run coverage reports 100%.
  • The docs describe the change: the guide or reference pages, the README, or the TSDoc of exported functions.
  • No docs change is needed.
  • A changeset describes the change for users (npm run changeset), or the change does not affect them.

@Huldoser
Huldoser enabled auto-merge (squash) October 14, 2026 15:05
@Huldoser
Huldoser merged commit 1033d63 into main Oct 14, 2026
27 checks passed
@Huldoser
Huldoser deleted the release-0.2.1 branch October 14, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant