# @theorchard/jest-config

## 3.0.0

### Minor Changes

-   Suppress react 18 renderer warnings.

### BREAKING CHANGES

-   Requires `@testing-library/jest-dom` >= 6

## 2.0.0

### Major Changes

-   Fixed a bug in configuration causing Jest to fail loading it.
-   Added `testMatch` rule to match `'**/__tests__/*.spec.*'` files.
-   Added test ignore pattern to ignore tests from the build/dist folders.

### BREAKING CHANGES

-   The configuration now matches `'**/__tests__/*.spec.*'` files by default. If you have tests not matching this pattern, you should rename/move them so they are found by Jest. If that is not easily done, you can override the new default behavior by changing your local configuration. e.g.

```json
{
    "preset": "@theorchard/jest-config",
    "testMatch": ["my pattern"] // https://jestjs.io/docs/configuration#testmatch-arraystring
}
```

## 1.3.0

### Minor Changes

-   Exports configuration so it can be used by other libraries.
-   Fixes resolving of transformer paths.

## 1.2.0

### Minor Changes

-   Sets cache directory to "./.cache/jest".
-   Removes listed dependencies since this is just a config and
    the dependencies are always required to be listed in the consumer app anyway.
    Will also make this config work with older Jest versions.

## 1.1.1

### Patch Changes

-   Fix bug in console output filter where non-string arguments caused an exception.

## 1.1.0

### Minor Changes

-   Upgraded to Jest 29
-   Adds support for jest projects by fixing the preset node_modules resolving logic.
