Skip to content

Commit

Permalink
docs: replace "glob patterns" with "file paths" (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdveen authored Oct 30, 2024
1 parent 50e2f98 commit 712997c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mutation-server-protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Each path can specify exactly which code blocks to mutate/discover using a mutat
The MSP defines the following methods:

- [configure](#configure): Configure the server. Editor plugins are expected to call this on startup, but it can also be called subsequently to change the configuration.
- [`discover`](#discover): Discovers mutants in the given glob patterns.
- [`discover`](#discover): Discovers mutants in the given file paths.
- [`mutationTest`](#mutationtest): The method to start a mutation test run.

#### Configure
Expand All @@ -84,7 +84,7 @@ export interface ConfigureResult {

#### Discover

The `discover` method is used to discover mutants in the given glob patterns. The server must respond with a `DiscoverResult` message.
The `discover` method is used to discover mutants in the given file paths. The server must respond with a `DiscoverResult` message.

The `DiscoveredMutant` type is a subset of the `MutantResult` type. The `MutantResult` is the type that can be found in the [mutation testing report schema](https://github.com/stryker-mutator/mutation-testing-elements/blob/2902d56301cfdaa8ad2be59f3bca07bdf96f89b4/packages/report-schema/src/mutation-testing-report-schema.json#L37).

Expand Down

0 comments on commit 712997c

Please sign in to comment.