Skip to content

Commit

Permalink
Dev Deps: Bump Jest to 29.4.1
Browse files Browse the repository at this point in the history
This commit bumps Jest to 29.4.1. This requires adding two additional
development dependencies.

As of Jest 28 `jest-environment-jsdom` is no longer shipped with Jest by
default, and has therefore been added as a dependency.

`uuid` was also added as a dev dependency. Jest 29 introduced some
compatibility issues with `uuid` that were fixed in `uuid@9`:
uuidjs/uuid#451 (comment)

We import and use `uuid` in our tests, but as it was a dependencies
dependency we did not control which version was installed. Version 8
(what was installed) causes Jest tests to fail like so:
```
    SyntaxError: Unexpected token 'export'

    > 29 | import { v4 as uuidv4 } from 'uuid';
```
  • Loading branch information
lucasgarfield authored and croissanne committed Feb 7, 2023
1 parent d4eb5f7 commit 0e4d12b
Show file tree
Hide file tree
Showing 2 changed files with 2,566 additions and 1,848 deletions.
Loading

0 comments on commit 0e4d12b

Please sign in to comment.