Repository navigation
Release 0.2.1 - #33
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Release 0.2.1, made with the steps by hand in CONTRIBUTING.md.
Patch Changes
#28
04ff6d2- A skip in acatchblock, such ascontext.skip()when a test server can't start, is conditional, with thecatchclause as its condition, as incatch (error). It was recorded as an unconditional skip before. A test declared in acatchblock getsisInCondition: 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..gitfolders are always left out, likenode_modules.#31
631cc6b- Workspace packages are found from bothpnpm-workspace.yamland theworkspacesofpackage.json. When a repository had both, as after a move to pnpm that kept the old list, onlypackage.jsonwas read, and a package listed only inpnpm-workspace.yamlgot anunresolved-test-importerror.#30
968e2bc- A call through an imported name that reads like a test function is followed, and reported withunresolved-test-importwhen it can't be, also when it goes through a member the scan doesn't know, as init.effect('title', fn)from@effect/vitest, or passes a timeout after the body, as intest('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 byexport *, as in JavaScript:export const it = ...next toexport * from 'vitest'is no longer read as Vitest'sit.#28
04ff6d2- Tests on a test object that a function returns are found, as inconditionalTest({ min: 22 })('title', fn)orconst 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, asit.skiporit, 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 alocal-test-objectwarning.Checklist
npm run coveragereports 100%.npm run changeset), or the change does not affect them.