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
Travis CI User committed Feb 7, 2023
1 parent 7a1a669 commit adacb2c
Show file tree
Hide file tree
Showing 70 changed files with 73 additions and 73 deletions.
6 changes: 3 additions & 3 deletions app.info.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"app_name": "image-builder",
"node_version": ">=16.0.0",
"src_hash": "d4eb5f78f03f3d3857d1f0e2e043ba665ec6a31c",
"src_hash": "0e4d12bae04bcf853b1bd8732be44af11b807e09",
"src_tag": "",
"src_branch": "stage-stable",
"patternfly_dependencies": ["@patternfly/patternfly@4.210.2","@patternfly/react-core@4.267.6","@patternfly/react-table@4.112.6"],
"rh_cloud_services_dependencies": ["@redhat-cloud-services/frontend-components-notifications@3.2.12","@redhat-cloud-services/frontend-components-utilities@3.3.11","@redhat-cloud-services/frontend-components@3.9.25"],
"travis": {
"event_type": "push",
"build_number": "3067",
"build_web_url": "https://app.travis-ci.com/RedHatInsights/image-builder-frontend/builds/260050256"
"build_number": "3080",
"build_web_url": "https://app.travis-ci.com/RedHatInsights/image-builder-frontend/builds/260409646"
}
}
4 changes: 2 additions & 2 deletions fed-mods.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"image_builder": {
"entry": [
"/apps/image-builder/image_builder.1674727412349.085c6b3abc7e7817e2aa.js"
"/apps/image-builder/image_builder.1675764550897.d8f562c91f8ca027055b.js"
],
"modules": [
"/apps/image-builder/js/412.1674727412265.085c6b3abc7e7817e2aa.js"
"/apps/image-builder/js/412.1675764550813.d8f562c91f8ca027055b.js"
]
}
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit adacb2c

Please sign in to comment.