Skip to content

feat: Update goldens from Cloud Build workflow (build e7750a0e-7bd5-4…

b9eb6b5
Select commit
Loading
Failed to load commit list.
Open

Automated Integration Test Goldens Update from CI #5800

feat: Update goldens from Cloud Build workflow (build e7750a0e-7bd5-4…
b9eb6b5
Select commit
Loading
Failed to load commit list.
Google Cloud Build / website-pull-request-npm (datcom-ci) succeeded Dec 5, 2025 in 5m 59s

Summary

Build Information

Trigger website-pull-request-npm
Build 20043e77-28ca-477d-9531-7cc7881f658d
Start 2025-12-04T18:58:07-08:00
Duration 5m10.411s
Status SUCCESS

Steps

Step Status Duration
client-test SUCCESS 4m59.662s

Details

starting build "20043e77-28ca-477d-9531-7cc7881f658d"

FETCHSOURCE
From https://github.com/datacommonsorg/website
 * branch            b9eb6b58f5f10d6d804f4f7c68078e2f7effbfdb -> FETCH_HEAD
Updating files:  88% (2175/2446)
Updating files:  89% (2177/2446)
Updating files:  90% (2202/2446)
Updating files:  91% (2226/2446)
Updating files:  92% (2251/2446)
Updating files:  93% (2275/2446)
Updating files:  94% (2300/2446)
Updating files:  95% (2324/2446)
Updating files:  96% (2349/2446)
Updating files:  97% (2373/2446)
Updating files:  98% (2398/2446)
Updating files:  99% (2422/2446)
Updating files: 100% (2446/2446)
Updating files: 100% (2446/2446), done.
HEAD is now at b9eb6b5 feat: Update goldens from Cloud Build workflow (build e7750a0e-7bd5-448e-93d4-24eb330fcbfa)
GitCommit:
b9eb6b58f5f10d6d804f4f7c68078e2f7effbfdb
BUILD
Pulling image: gcr.io/datcom-ci/node:2025-10-01
2025-10-01: Pulling from datcom-ci/node
b85a868b505f: Pulling fs layer
4bc2eda9354f: Pulling fs layer
a407a484e74b: Pulling fs layer
cc6fff309142: Pulling fs layer
09be68c4cfd1: Pulling fs layer
4f2fc846f636: Pulling fs layer
b471a8c3f1d6: Pulling fs layer
dd5c82065067: Pulling fs layer
c79cd3db6e51: Pulling fs layer
71f0d0490247: Pulling fs layer
8674d43d4892: Pulling fs layer
574e4ed3a819: Pulling fs layer
81f0d49e568a: Pulling fs layer
6d2718751084: Pulling fs layer
8061492fb0d0: Pulling fs layer
bdb0d3f2b395: Pulling fs layer
b471a8c3f1d6: Waiting
dd5c82065067: Waiting
71f0d0490247: Waiting
574e4ed3a819: Waiting
81f0d49e568a: Waiting
c79cd3db6e51: Waiting
6d2718751084: Waiting
8674d43d4892: Waiting
8061492fb0d0: Waiting
bdb0d3f2b395: Waiting
4bc2eda9354f: Verifying Checksum
4bc2eda9354f: Download complete
cc6fff309142: Verifying Checksum
cc6fff309142: Download complete
09be68c4cfd1: Verifying Checksum
09be68c4cfd1: Download complete
4f2fc846f636: Verifying Checksum
4f2fc846f636: Download complete
c79cd3db6e51: Verifying Checksum
c79cd3db6e51: Download complete
dd5c82065067: Verifying Checksum
dd5c82065067: Download complete
b471a8c3f1d6: Verifying Checksum
b471a8c3f1d6: Download complete
71f0d0490247: Download complete
b85a868b505f: Verifying Checksum
b85a868b505f: Download complete
81f0d49e568a: Verifying Checksum
81f0d49e568a: Download complete
a407a484e74b: Download complete
574e4ed3a819: Verifying Checksum
574e4ed3a819: Download complete
8674d43d4892: Download complete
bdb0d3f2b395: Verifying Checksum
bdb0d3f2b395: Download complete
b85a868b505f: Pull complete
8061492fb0d0: Verifying Checksum
8061492fb0d0: Download complete
4bc2eda9354f: Pull complete
6d2718751084: Download complete
a407a484e74b: Pull complete
cc6fff309142: Pull complete
09be68c4cfd1: Pull complete
4f2fc846f636: Pull complete
b471a8c3f1d6: Pull complete
dd5c82065067: Pull complete
c79cd3db6e51: Pull complete
71f0d0490247: Pull complete
8674d43d4892: Pull complete
574e4ed3a819: Pull complete
81f0d49e568a: Pull complete
6d2718751084: Pull complete
8061492fb0d0: Pull complete
bdb0d3f2b395: Pull complete
Digest: sha256:d370b82042aace3f1dc24e23066f8ae12d6afd2190425d9db9dcc43fb4c5b10e
Status: Downloaded newer image for gcr.io/datcom-ci/node:2025-10-01
gcr.io/datcom-ci/node:2025-10-01
### Running lint
[email protected] /workspace/static
+-- @typescript-eslint/[email protected]
| +-- @typescript-eslint/[email protected]
| | `-- [email protected] deduped
| +-- @typescript-eslint/[email protected]
| | +-- [email protected]
| | | `-- [email protected] deduped
| | `-- [email protected] deduped
| `-- [email protected] deduped
+-- @typescript-eslint/[email protected]
| `-- [email protected] deduped
+-- [email protected]
| `-- [email protected] deduped
+-- [email protected]
| `-- [email protected] deduped
+-- [email protected]
| `-- [email protected] deduped
+-- [email protected]
| `-- [email protected] deduped
+-- [email protected]
| `-- [email protected] deduped
`-- [email protected]


> [email protected] test-lint
> eslint .


/workspace/static/js/apps/base/components/header_bar/header_bar_search.tsx
  88:6  warning  React Hook useEffect has a missing dependency: 'enableStatVarAutocomplete'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/apps/explore/app.tsx
  152:6  warning  React Hook useEffect has missing dependencies: 'handleHashChange' and 'props.isDemo'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/apps/explore/autoplay.tsx
  107:6  warning  React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect  react-hooks/exhaustive-deps

/workspace/static/js/apps/explore/page_overview.tsx
  32:10  warning  'isFeatureEnabled' is defined but never used  @typescript-eslint/no-unused-vars

/workspace/static/js/apps/explore/result_header_section.tsx
  442:6  warning  React Hook useEffect has a missing dependency: 'dataCommonsClient.webClient'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/apps/visualization/app_context.tsx
  179:6  warning  React Hook useEffect has missing dependencies: 'updateContextValue' and 'visType'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/apps/visualization/place_selector.tsx
  51:6  warning  React Hook useEffect has a missing dependency: 'selectedPlaces'. Either include it or remove the dependency array                                                                                                                                                                         react-hooks/exhaustive-deps
  57:6  warning  React Hook useEffect has missing dependencies: 'selectedPlaces' and 'visTypeConfig.singlePlace'. Either include them or remove the dependency array. You can also do a functional update 'setSelectedPlaces(s => ...)' if you only need 'selectedPlaces' in the 'setSelectedPlaces' call  react-hooks/exhaustive-deps

/workspace/static/js/apps/visualization/place_type_selector.tsx
  43:6  warning  React Hook useEffect has a missing dependency: 'selectedPlaceType'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/apps/visualization/selector_pane.tsx
  63:6  warning  React Hook useEffect has missing dependencies: 'availableSelectors' and 'getSelectors'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/apps/visualization/stat_var_selector.tsx
  68:6  warning  React Hook useEffect has a missing dependency: 'selectedStatVars'. Either include it or remove the dependency array. You can also do a functional update 'setSelectedStatVars(s => ...)' if you only need 'selectedStatVars' in the 'setSelectedStatVars' call  react-hooks/exhaustive-deps
  74:6  warning  React Hook useEffect has a missing dependency: 'selectedStatVars'. Either include it or remove the dependency array                                                                                                                                             react-hooks/exhaustive-deps
  89:6  warning  React Hook useEffect has missing dependencies: 'props.selectOnContinue', 'selectedStatVars', and 'visTypeConfig'. Either include them or remove the dependency array                                                                                            react-hooks/exhaustive-deps

/workspace/static/js/components/nl_search_bar/auto_complete_input.tsx
  206:6  warning  React Hook useEffect has missing dependencies: 'changeText' and 'inputText'. Either include them or remove the dependency array       react-hooks/exhaustive-deps
  219:6  warning  React Hook useEffect has a missing dependency: 'executeQuery'. Either include it or remove the dependency array                       react-hooks/exhaustive-deps
  314:5  warning  React Hook useCallback has a missing dependency: 'props.enableStatVarAutocomplete'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/components/nl_search_bar/nl_search_bar_header_inline.tsx
  48:6  warning  React Hook useEffect has a missing dependency: 'urlParams'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/components/ranking_unit.tsx
  186:25  warning  Missing return type on function               @typescript-eslint/explicit-function-return-type
  189:25  warning  Missing return type on function               @typescript-eslint/explicit-function-return-type
  234:9   warning  'urlFunc' is assigned a value but never used  @typescript-eslint/no-unused-vars

/workspace/static/js/components/subject_page/disaster_event_block.tsx
  127:6  warning  React Hook useEffect has a missing dependency: 'filterSectionHeight'. Either include it or remove the dependency array                                   react-hooks/exhaustive-deps
  154:6  warning  React Hook useEffect has missing dependencies: 'disasterEventData', 'fetchData', and 'getSpinnerId'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  179:6  warning  React Hook useEffect has a missing dependency: 'props.id'. Either include it or remove the dependency array                                              react-hooks/exhaustive-deps

/workspace/static/js/components/tiles/disaster_event_map_selectors.tsx
  79:6  warning  React Hook useEffect has a missing dependency: 'updateDateOptions'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/components/tiles/disaster_event_map_tile.tsx
  161:6  warning  React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array                                                react-hooks/exhaustive-deps
  178:6  warning  React Hook useEffect has missing dependencies: 'props', 'shouldShowMap', 'svgHeight', and 'zoomParams'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  189:6  warning  React Hook useEffect has a missing dependency: 'getSvgHeight'. Either include it or remove the dependency array                                             react-hooks/exhaustive-deps

/workspace/static/js/components/tiles/histogram_tile.tsx
  237:7  warning  The 'histogramData' array makes the dependencies of useCallback Hook (at line 251) change on every render. To fix this, wrap the initialization of 'histogramData' in its own useMemo() Hook  react-hooks/exhaustive-deps

/workspace/static/js/components/tiles/map_tile.tsx
  315:6  warning  React Hook useCallback has a missing dependency: 'zoomParams'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/components/tiles/ranking_tile.tsx
  142:6  warning  React Hook useEffect has a missing dependency: 'props.facetSelector'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/components/tiles/scatter_tile.tsx
  181:6  warning  React Hook useEffect has missing dependencies: 'areDataPropsEqual' and 'props'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  203:6  warning  React Hook useCallback has a missing dependency: 'areDataPropsEqual'. Either include it or remove the dependency array              react-hooks/exhaustive-deps

/workspace/static/js/components/tiles/top_event_tile.tsx
  90:6  warning  React Hook useEffect has missing dependencies: 'topEvents' and 'updateEventPlaces'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/import_wizard/components/mapping_section.tsx
  120:6  warning  React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect  react-hooks/exhaustive-deps

/workspace/static/js/import_wizard/components/mapping_table_header.tsx
  59:6  warning  React Hook useEffect has missing dependencies: 'editHeaderState.colIdx' and 'onHeaderUpdated'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/import_wizard/components/value_map_section.tsx
  61:6  warning  React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect  react-hooks/exhaustive-deps

/workspace/static/js/import_wizard2/components/mapping_page.tsx
  57:6  warning  React Hook useEffect has a missing dependency: 'scrollToPreview'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/import_wizard2/components/upload_page.tsx
  62:6  warning  React Hook useEffect has a missing dependency: 'processFile'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/place/place_main.tsx
  437:6  warning  React Hook useEffect has missing dependencies: 'isOverview', 'locale', 'receivedApiResponse', and 'setStorePlaceholderString'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/shared/facet_selector/facet_selector_rich.tsx
  365:6  warning  React Hook useEffect has missing dependencies: 'facetList', 'props?.facetSelector', and 'useInjectedFacet'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/shared/hooks.ts
  64:5   warning  React Hook useMemo has a missing dependency: 'rootMargin'. Either include it or remove the dependency array                                                                                                                                                              react-hooks/exhaustive-deps
  78:24  warning  The ref value 'containerRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'containerRef.current' to a variable inside the effect, and use that variable in the cleanup function  react-hooks/exhaustive-deps

/workspace/static/js/shared/place_selector.tsx
  110:6  warning  React Hook useEffect has a missing dependency: 'loadChildPlaceTypes'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/shared/stores/query_store_hook.tsx
  105:6  warning  React Hook useEffect has a missing dependency: 'placeholder'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/stat_var_hierarchy/drawer_resize.tsx
  50:5  warning  React Hook React.useCallback has missing dependencies: 'setWidth' and 'sidebarRef'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/tools/download/page.tsx
  120:6  warning  React Hook useEffect has a missing dependency: 'showPreview'. Either include it or remove the dependency array               react-hooks/exhaustive-deps
  212:6  warning  React Hook useEffect has a missing dependency: 'shouldHideSourceSelector'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/tools/download/preview.tsx
  62:6  warning  React Hook useEffect has a missing dependency: 'getCsvReqPayload'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/tools/map/d3_map.tsx
  286:6  warning  React Hook useEffect has missing dependencies: 'display.value.showMapPoints' and 'draw'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/tools/map/leaflet_map.tsx
  95:50  warning  The ref value 'chartContainerRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'chartContainerRef.current' to a variable inside the effect, and use that variable in the cleanup function  react-hooks/exhaustive-deps

/workspace/static/js/tools/map/place_options.tsx
  71:6  warning  React Hook useEffect has a missing dependency: 'placeInfo'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/tools/map/stat_var_chooser.tsx
   80:6  warning  React Hook useEffect has missing dependencies: 'placeInfo' and 'statVar'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  104:6  warning  React Hook useEffect has a missing dependency: 'statVar'. Either include it or remove the dependency array                    react-hooks/exhaustive-deps

/workspace/static/js/tools/scatter/app.test.tsx
  60:6  warning  React Hook useEffect has a missing dependency: 'context.place'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/tools/scatter/chart.tsx
  113:6   warning  React Hook useEffect has missing dependencies: 'props.placeInfo.enclosedPlaceType' and 'props.placeInfo.enclosingPlace.dcid'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  156:6   warning  React Hook useEffect has a missing dependency: 'replot'. Either include it or remove the dependency array                                                                         react-hooks/exhaustive-deps
  170:6   warning  React Hook useEffect has a missing dependency: 'statVars'. Either include it or remove the dependency array                                                                       react-hooks/exhaustive-deps
  170:7   warning  React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked                                          react-hooks/exhaustive-deps
  170:20  warning  React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked                                          react-hooks/exhaustive-deps

/workspace/static/js/tools/scatter/chart_loader.tsx
  176:6  warning  React Hook useEffect has missing dependencies: 'cache', 'isLoading', 'x', and 'y'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

/workspace/static/js/tools/scatter/statvar.tsx
   94:6  warning  React Hook useEffect has missing dependencies: 'place.value.enclosedPlaceType' and 'place.value.enclosingPlace.dcid'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  139:6  warning  React Hook useEffect has missing dependencies: 'x' and 'y'. Either include them or remove the dependency array                                                            react-hooks/exhaustive-deps

/workspace/static/js/tools/shared/place_selector/enclosed_places_selector.tsx
   99:6  warning  React Hook useEffect has missing dependencies: 'childPlaceTypes' and 'props'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect  react-hooks/exhaustive-deps
  106:6  warning  React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect                          react-hooks/exhaustive-deps

/workspace/static/js/tools/shared/stat_var_widget.tsx
  127:6  warning  React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect  react-hooks/exhaustive-deps

/workspace/static/js/tools/timeline/page.test.tsx
  58:29  error  Replace `''` with `""`  prettier/prettier

/workspace/static/js/utils/click_alerter.ts
  42:6  warning  React Hook useEffect has a missing dependency: 'callbackFunction'. Either include it or remove the dependency array. If 'callbackFunction' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
  68:6  warning  React Hook useEffect has a missing dependency: 'callbackFunction'. Either include it or remove the dependency array. If 'callbackFunction' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps

✖ 68 problems (1 error, 67 warnings)
  1 error and 0 warnings potentially fixable with the `--fix` option.

Fix lint errors by running ./run_test.sh -f
### Build client-side packages

added 7 packages, and changed 8 packages in 1s

26 packages are looking for funding
  run `npm fund` for details
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=20' },
npm WARN EBADENGINE   current: { node: 'v18.4.0', npm: '8.12.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^20.19.0 || ^22.12.0 || >=23' },
npm WARN EBADENGINE   current: { node: 'v18.4.0', npm: '8.12.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^20.19.0 || ^22.12.0 || >=23' },
npm WARN EBADENGINE   current: { node: 'v18.4.0', npm: '8.12.1' }
npm WARN EBADENGINE }

added 23 packages, removed 16 packages, and changed 73 packages in 4s

73 packages are looking for funding
  run `npm fund` for details

added 41 packages, removed 20 packages, and changed 35 packages in 6s

287 packages are looking for funding
  run `npm fund` for details

> [email protected] dev-build
> wireit

Analyzing
  0% [0 / 3] [2 running] ../packages/web-components:build
 33% [1 / 3] [1 running] ../packages/client:build
 67% [2 / 3] [1 running] dev-build
#### Building webpack in development mode
assets by path �[1m�[32mimages/�[39m�[22m 19.2 MiB 48 assets
assets by path �[1m�[32mcustom_dc/�[39m�[22m 4.5 MiB 41 assets
assets by path �[1m�[32m*.js�[39m�[22m 162 MiB 40 assets
assets by path �[1m�[32mcss/�[39m�[22m 11.2 MiB 38 assets
assets by path �[1m�[32msitemap/*.txt�[39m�[22m 79.6 MiB 34 assets
assets by path �[1m�[32mdata/�[39m�[22m 1.28 MiB
  asset �[1m�[32mdata/factcheck/fact_checks_20190605.txt.gz�[39m�[22m 656 KiB �[1m�[32m[emitted]�[39m�[22m [from: data/factcheck/fact_checks_20190605.txt.gz] �[1m�[32m[copied]�[39m�[22m
  + 2 assets
assets by path �[1m�[32mfonts/*.ttf�[39m�[22m 308 KiB
  asset �[1m�[32mfonts/GoogleSans-Medium.ttf�[39m�[22m 154 KiB �[1m�[32m[emitted]�[39m�[22m [from: fonts/GoogleSans-Medium.ttf] �[1m�[32m[copied]�[39m�[22m
  asset �[1m�[32mfonts/GoogleSans-Regular.ttf�[39m�[22m 154 KiB �[1m�[32m[emitted]�[39m�[22m [from: fonts/GoogleSans-Regular.ttf] �[1m�[32m[copied]�[39m�[22m
assets by path �[1m�[32m*.ico�[39m�[22m 100 KiB
  asset �[1m�[32msustain_favicon.ico�[39m�[22m 98.9 KiB �[1m�[32m[emitted]�[39m�[22m [from: sustain_favicon.ico] �[1m�[32m[copied]�[39m�[22m
  asset �[1m�[32mold_favicon.ico�[39m�[22m 1.12 KiB �[1m�[32m[emitted]�[39m�[22m [from: old_favicon.ico] �[1m�[32m[copied]�[39m�[22m
asset �[1m�[32mrobots.txt�[39m�[22m 2.08 KiB �[1m�[32m[emitted]�[39m�[22m [from: robots.txt] �[1m�[32m[copied]�[39m�[22m
runtime modules 129 KiB 313 modules
orphan modules 180 KiB �[1m�[33m[orphan]�[39m�[22m 173 modules
modules by path �[1m./node_modules/�[39m�[22m 8.72 MiB 1439 modules
modules by path �[1m./js/�[39m�[22m 3.72 MiB
  javascript modules 2.97 MiB
    cacheable modules 2.97 MiB 544 modules
    modules by path �[1m./js/i18n/compiled-lang/ sync ^/.//.*//�[39m�[22m 1.52 KiB 4 modules
  json modules 763 KiB 42 modules
modules by path �[1m./css/�[39m�[22m 224 KiB 38 modules
modules by path �[1m./library/*.ts�[39m�[22m 89.3 KiB
  �[1m./library/index.ts�[39m�[22m 3.59 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
  �[1m./library/bar_component.ts�[39m�[22m 8.65 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
  �[1m./library/components.ts�[39m�[22m 2.5 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
  + 11 modules
+ 6 modules
webpack 5.94.0 compiled �[1m�[32msuccessfully�[39m�[22m in 131054 ms
✅ Ran 3 scripts and skipped 0 in 142.6s.
### Running client tests

up to date in 511ms

26 packages are looking for funding
  run `npm fund` for details
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=20' },
npm WARN EBADENGINE   current: { node: 'v18.4.0', npm: '8.12.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^20.19.0 || ^22.12.0 || >=23' },
npm WARN EBADENGINE   current: { node: 'v18.4.0', npm: '8.12.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^20.19.0 || ^22.12.0 || >=23' },
npm WARN EBADENGINE   current: { node: 'v18.4.0', npm: '8.12.1' }
npm WARN EBADENGINE }

up to date in 1s

73 packages are looking for funding
  run `npm fund` for details

changed 1 package in 6s

287 packages are looking for funding
  run `npm fund` for details

> [email protected] test
> wireit

Analyzing
  0% [0 / 3] [2 running] ../packages/client:build
 33% [1 / 3] [1 running] ../packages/client:build
 67% [2 / 3] [1 running] test
PASS js/import_wizard2/utils/obs_generation.test.tsx (17.268 s)
  ✓ GenerateRowObservations_SingleValueColumn (5 ms)
  ✓ GenerateRowObservations_SingleValueColumn_UnitInColumn (2 ms)
  ✓ GenerateRowObservations_SingleValueColumn_ValueMap (2 ms)
  ✓ GenerateRowObservations_DateValuesInHeader (1 ms)
  ✓ GenerateRowObservations_DateValuesInHeader_ValueMap (1 ms)
  ✓ GenerateRowObservations_DateValuesInHeader_UnitsInColumns (2 ms)

PASS js/import_wizard/utils/detect_place.test.tsx (17.617 s)
  ✓ placeTypesAndProperties (20 ms)
  ✓ supportedPlaceTypeProperties (5 ms)
  ✓ placeDetectionKeys (1 ms)
  ✓ countries (20 ms)
  ✓ States (6 ms)
  ✓ placeLowConfidenceDetection (8 ms)
  ✓ detectionLowConf (8 ms)
  ✓ countryHighConf (14 ms)
  ✓ stateHighConf (3 ms)
  ✓ placeDetection (3 ms)
  ✓ countryNumericVsStateFIPS (3 ms)

PASS js/import_wizard/utils/obs_generation.test.tsx
  ✓ GenerateRowObservations_SingleValueColumn (6 ms)
  ✓ GenerateRowObservations_SingleValueColumn_UnitInColumn (1 ms)
  ✓ GenerateRowObservations_SingleValueColumn_ValueMap (2 ms)
  ✓ GenerateRowObservations_DateValuesInHeader (1 ms)
  ✓ GenerateRowObservations_DateValuesInHeader_ValueMap (2 ms)
  ✓ GenerateRowObservations_DateValuesInHeader_UnitsInColumns (2 ms)

PASS js/import_wizard2/utils/file_generation.test.ts
  ✓ generateTranslationMetadataJson (9 ms)
  ✓ shouldGenerateCsv (2 ms)
  ✓ generateCsvNoValueMap (47 ms)
  ✓ generateCsvWithValueMap (3 ms)
  ✓ generateCsvDiffHeaderAndDataRows (2 ms)

PASS js/utils/tests/disaster_event_map_utils.test.ts (20.781 s)
  ✓ fetch date list for all disasters (117 ms)
  ✓ fetch date list for single disaster multiple event types (16 ms)
  ✓ fetch date list for single eventType (44 ms)
  ✓ fetch data for single disaster multiple events with date as YYYY-MM (64 ms)
  ✓ fetch data for single disaster multiple events with date as YYYY (42 ms)
  ✓ fetch data for single event with date as YYYY-MM (54 ms)
  ✓ fetch data for single event with date as YYYY (15 ms)
  ✓ getMapPointsData (1 ms)

  console.error
    ModuleNotFoundError: Cannot find module '../i18n/compiled-lang/en/stats_var_labels.json' from 'js/tools/timeline/data_fetcher.test.ts'
        at Resolver._throwModNotFoundError (/workspace/static/node_modules/jest-resolve/build/resolver.js:491:11)
        at Resolver.resolveModule (/workspace/static/node_modules/jest-resolve/build/resolver.js:413:10)
        at Resolver._getVirtualMockPath (/workspace/static/node_modules/jest-resolve/build/resolver.js:733:14)
        at Resolver._getAbsolutePath (/workspace/static/node_modules/jest-resolve/build/resolver.js:690:14)
        at Resolver.getModuleID (/workspace/static/node_modules/jest-resolve/build/resolver.js:617:31)
        at Runtime._shouldMockCjs (/workspace/static/node_modules/jest-runtime/build/index.js:1984:37)
        at Runtime.requireModuleOrMock (/workspace/static/node_modules/jest-runtime/build/index.js:1242:14)
        at /workspace/static/js/tools/timeline/data_fetcher.test.ts:251:51
        at processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async Promise.all (index 0) {
      code: 'MODULE_NOT_FOUND',
      hint: '',
      requireStack: undefined,
      siblingWithSimilarExtensionFound: false,
      moduleName: '../i18n/compiled-lang/en/stats_var_labels.json',
      _originalMessage: "Cannot find module '../i18n/compiled-lang/en/stats_var_labels.json' from 'js/tools/timeline/data_fetcher.test.ts'"
    }

      60 |     })
      61 |     .catch((err) => {
    > 62 |       console.error(err);
         |               ^
      63 |       intl = createIntl({ locale, messages: {} }, intlCache);
      64 |     });
      65 | }

      at js/i18n/i18n.tsx:62:15

PASS js/tools/timeline/data_fetcher.test.ts (21.306 s)
  ✓ fetch raw data (75 ms)
  ✓ get stats data with state code (4 ms)
  ✓ get stats data where latest date with data for all stat vars is not the latest date (2 ms)
  ✓ get stats data where there is no date with data for all stat vars (2 ms)
  ✓ get stats data with per capita with population size 0 (2 ms)
  ✓ get stats data with Per capita with specified denominators (2 ms)
  ✓ get stats data with per capita with specified denominators - missing place data (1 ms)
  ✓ get stat data with specified source (2 ms)
  ✓ StatsData test (1 ms)
  ✓ convert to delta (2 ms)
  ✓ transform from models - multiple places (3 ms)
  ✓ transform from models - multiple obs periods (2 ms)

PASS js/import_wizard/utils/heuristics.test.tsx
  ✓ countryDetection (9 ms)
  ✓ countryDetection-twocolumns (4 ms)
  ✓ countryDetectionOrder (9 ms)
  ✓ dateDetection-headers (2 ms)
  ✓ dateDetection-columns (19 ms)
  ✓ dateDetection-headers-columns (3 ms)
  ✓ comboDetection-date-and-place (7 ms)

PASS js/import_wizard/utils/tmcf_generation.test.tsx
  ✓ SingleNodeTMCF (5 ms)
  ✓ MultiNodeTMCF_DateValueInHeader (28 ms)
  ✓ MultiNodeTMCF_PlaceValueInHeader (1 ms)
  ✓ MultiNodeTMCF_PlaceValueInHeader_DiffPlaceTypes
  ✓ SingleNodeTMCFWithUnitColumnConstant (2 ms)
  ✓ MultiNodeTMCF_UnitAsSomeColumnConstants (1 ms)

PASS js/import_wizard2/utils/detection.test.tsx
  ✓ jsonParsingPlaceDateColumns (8 ms)
  ✓ jsonParsingPlaceDateHeaders (3 ms)
  ✓ jsonParsingPlaceSkippedDateCorrect (2 ms)
  ✓ jsonParsingPlaceCorrectDateSkipped (2 ms)
  ✓ jsonParsingAllSkipped (1 ms)
  ✓ jsonParsingColumnIncorrect (1 ms)
  ✓ jsonParsingPropIncorrect
  ✓ jsonParsingTypeIncorrect
  ✓ jsonParsingSupportedTypePropertiesAllSkipped
  ✓ jsonParsingSupportedTypePropertiesCorrect (1 ms)

PASS js/apps/visualization/redirect_utils.test.ts
  redirect_utils
    getStandardizedToolUrl
      ✓ should return correct url for landing page should redirect to map tool (20 ms)
      ✓ should return correct url for empty hash should redirect to map tool (4 ms)
      ✓ should return correct url for map landing page should redirect to map tool (4 ms)
      ✓ should return correct url for when redirecting to the map tool, ignore invalid hash parameters (21 ms)
      ✓ should return correct url for map chart with place, place type, and variable (6 ms)
      ✓ should return correct url for map chart with place, place type, variable, and per capita is on (10 ms)
      ✓ should return correct url for unencoded map chart with place, place type, variable, and per capita (6 ms)
      ✓ should return correct url for scatter landing page should redirect to scatter tool (2 ms)
      ✓ should return correct url for when redirecting to the scatter tool, ignore invalid hash parameters (4 ms)
      ✓ should return correct url for scatter chart with place, place type, and 2 variables, with per capita on Y axis (6 ms)
      ✓ should return correct url for scatter chart with place, place type, and 2 variables, with per capita on both axes (11 ms)
      ✓ should return correct url for scatter chart with log scale, quadrants, and labels on (6 ms)
      ✓ should return correct url for unencoded scatter chart with log scale, quadrants, and labels on (5 ms)
      ✓ should return correct url for timeline landing page should redirect to timeline tool (3 ms)
      ✓ should return correct url for when redirecting to the timeline tool, ignore invalid hash parameters (3 ms)
      ✓ should return correct url for timeline chart with one place and multiple variables (6 ms)
      ✓ should return correct url for timeline chart with one variable and multiple places (3 ms)
      ✓ should return correct url for unencoded timeline chart with one variable and multiple places (3 ms)
    getVisTypeFromHash
      ✓ should return "map" for an empty hash (1 ms)
      ✓ should return "map" for a hash with no params (1 ms)
      ✓ should return "scatter" for a scatter visType (1 ms)
      ✓ should return "timeline" for a timeline visType
      ✓ should return "map" for a map visType
      ✓ should return "timeline" for visType is the last hash parameter (1 ms)
      ✓ should return "scatter" for visType is the a middle hash parameter (19 ms)
      ✓ should return "map" for an invalid visType should default to map (1 ms)

PASS js/import_wizard/utils/file_generation.test.ts
  ✓ generateTranslationMetadataJson (5 ms)
  ✓ shouldGenerateCsv (2 ms)
  ✓ generateCsvNoValueMap (50 ms)
  ✓ generateCsvWithValueMap (4 ms)

PASS js/utils/tests/chart_csv_utils.test.ts
  ✓ dataGroupsToCsv (24 ms)
  ✓ scatterDataToCsv (2 ms)
  ✓ dataPointsToCsv (1 ms)
  ✓ mapDataToCsv (2 ms)
  ✓ rankingPointsToCsv (2 ms)

PASS js/i18n/i18n.test.ts
  ✓ formatNumber (218 ms)
  ✓ translateUnit (47 ms)
  ✓ formatDate (15 ms)

PASS js/import_wizard2/utils/tmcf_generation.test.tsx
  ✓ SingleNodeTMCF (5 ms)
  ✓ MultiNodeTMCF_DateValueInHeader (1 ms)
  ✓ MultiNodeTMCF_PlaceValueInHeader (1 ms)
  ✓ SingleNodeTMCFWithUnitColumnConstant (1 ms)
  ✓ MultiNodeTMCF_UnitAsSomeColumnConstants

PASS js/apps/eval_retrieval_generation/util.test.ts
  ✓ processText (7 ms)

PASS js/utils/tests/data_fetch_utils.test.ts
  ✓ getBestUnit (3 ms)
  ✓ getPoint no align (30 ms)
  ✓ getPoint align (37 ms)
  ✓ getPointWithin no align (4 ms)
  ✓ getPointWithin (3 ms)

PASS js/import_wizard2/utils/validation.test.tsx
  ✓ Fail_MalformedMappingVal (21 ms)
  ✓ Fail_MissingRequiredPropsAndMultipleColumnHeaders (1 ms)
  ✓ Fail_ValueMissing (1 ms)
  ✓ Fail_NullInColumnHeaderValue (1 ms)
  ✓ Fail_DuplicateColumnHeaderValue (1 ms)
  ✓ Pass_DateInColumnHeader (1 ms)
  ✓ Pass_NoColumnHeader (1 ms)

PASS js/stat_var_hierarchy/stat_var_search.test.tsx (5.207 s)
  ✓ getResultCountString (34 ms)
  StatVarHierarchySearch Component
    ✓ Should not show the "Load More Results" button when less than MAX_INITIAL_RESULTS are returned (81 ms)
    ✓ Should show the "Load More Results" button when exactly MAX_INITIAL_RESULTS are returned (204 ms)
    ✓ Should load up to MAX_TOTAL_RESULTS and remove the button when the Load More button is clicked (389 ms)

PASS js/import_wizard/utils/validation.test.tsx
  ✓ Fail_MalformedMappingVal (4 ms)
  ✓ Fail_MissingRequiredPropsAndMultipleColumnHeaders (1 ms)
  ✓ Fail_ValueMissing (1 ms)
  ✓ Fail_MissingPlaceProperties (1 ms)
  ✓ Pass_DateInColumnHeader (1 ms)
  ✓ Pass_NoColumnHeader

PASS js/biomedical/disease/data_processing_utils.test.tsx
  ✓ getDiseaseGeneAssociation (5 ms)
  ✓ getDiseaseSymptomAssociation (2 ms)
  ✓ getCompoundDiseaseTreatment (1 ms)
  ✓ getCompoundDiseaseContraindication (2 ms)
  ✓ getDiseaseCommonName

PASS js/biomedical/protein/data_processing_utils.test.tsx (34.557 s)
  ✓ getTissueScore (6 ms)
  ✓ getProteinInteraction (2 ms)
  ✓ getDiseaseGeneAssoc (4 ms)
  ✓ getVarGeneAssoc (2 ms)
  ✓ getVarTypeAssoc (13 ms)
  ✓ getVarSigAssoc (9 ms)
  ✓ getChemicalGeneAssoc (3 ms)

PASS js/chart/base.test.ts
  ✓ minOfNullValues (3 ms)
  ✓ shouldFillInValues (10 ms)
  wrap tests
    ✓ wraps ab-d e f (77 ms)
    ✓ wraps a-b c (7 ms)
    ✓ wraps a b-c (5 ms)
    ✓ wraps a-b c (19 ms)
    ✓ wraps New York, NY (6 ms)
    ✓ wraps Queens, NY (11 ms)
    ✓ wraps Queens-NY (3 ms)
    ✓ wraps United-States-of-America (4 ms)
    ✓ wraps United States of America (5 ms)
    ✓ wraps United States of America (17 ms)
    ✓ wraps アメリカ合衆国 (4 ms)
    ✓ wraps ブロンクス区, ニューヨーク州 (3 ms)
    ✓ wraps ニューヨーク, ニューヨーク州 (3 ms)

PASS js/tools/map/util.test.ts
  ✓ updateHashPlaceInfo (4 ms)
  ✓ updateHashStatVarInfo (1 ms)
  ✓ updateHashDisplay (1 ms)
  ✓ applyHashPlaceInfo (29 ms)
  ✓ applyHashStatVarInfo (2 ms)
  ✓ applyHashDisplay (1 ms)
  ✓ get time slider dates (2 ms)

PASS js/shared/feature_flags/util.test.ts
  isFeatureEnabled
    ✓ returns true when enable param is present (6 ms)
    ✓ returns false when different URL params are present (1 ms)
    ✓ returns false when no URL params are present (1 ms)
    ✓ returns true when multiple features are enabled (3 ms)
    ✓ returns true when feature flag is enabled in FEATURE_FLAGS (1 ms)
    ✓ returns false when feature flag is disabled in FEATURE_FLAGS (1 ms)
    ✓ returns false when disable param is present (1 ms)
    ✓ keyword in url but not as a query parameter does not override (9 ms)
    ✓ returns true when rollout percentage is 100 (2 ms)
    ✓ returns false when rollout percentage is 0 (1 ms)

PASS js/tools/shared_util.test.ts
  ✓ getMatchingObservation (6 ms)
  ✓ shouldShowMapBoundaries (1 ms)
  ✓ toTitleCase (1 ms)
  ✓ compute ratio (1 ms)
  ✓ compute ratio not aligned (1 ms)

  console.error
    Error loading facets for selection.

      333 |       this.setState({ facetList, facetListLoading: false });
      334 |     } catch {
    > 335 |       console.error("Error loading facets for selection.");
          |               ^
      336 |       this.setState({ facetListLoading: false, facetListError: true });
      337 |     }
      338 |   }

      at console.error (node_modules/@testing-library/react/dist/act-compat.js:52:34)
      at Chart.<anonymous> (js/tools/timeline/chart.tsx:335:15)
          at Generator.throw (<anonymous>)
      at rejected (js/tools/timeline/chart.tsx:29:65)

PASS js/tools/timeline/util.test.ts
  ✓ test getTokensFromUrl (7 ms)
  ✓ test setTokensToUrl (3 ms)
  ✓ test addToken (3 ms)
  ✓ test removeToken (1 ms)
  ✓ get chart option (8 ms)
  ✓ set chart option (9 ms)

  console.error
    Error loading facets for selection.

      333 |       this.setState({ facetList, facetListLoading: false });
      334 |     } catch {
    > 335 |       console.error("Error loading facets for selection.");
          |               ^
      336 |       this.setState({ facetListLoading: false, facetListError: true });
      337 |     }
      338 |   }

      at Chart.<anonymous> (js/tools/timeline/chart.tsx:335:15)
          at Generator.throw (<anonymous>)
      at rejected (js/tools/timeline/chart.tsx:29:65)

  console.error
    Error loading facets for selection.

      333 |       this.setState({ facetList, facetListLoading: false });
      334 |     } catch {
    > 335 |       console.error("Error loading facets for selection.");
          |               ^
      336 |       this.setState({ facetListLoading: false, facetListError: true });
      337 |     }
      338 |   }

      at Chart.<anonymous> (js/tools/timeline/chart.tsx:335:15)
          at Generator.throw (<anonymous>)
      at rejected (js/tools/timeline/chart.tsx:29:65)

  console.error
    Error loading facets for selection.

      333 |       this.setState({ facetList, facetListLoading: false });
      334 |     } catch {
    > 335 |       console.error("Error loading facets for selection.");
          |               ^
      336 |       this.setState({ facetListLoading: false, facetListError: true });
      337 |     }
      338 |   }

      at Chart.<anonymous> (js/tools/timeline/chart.tsx:335:15)
          at Generator.throw (<anonymous>)
      at rejected (js/tools/timeline/chart.tsx:29:65)

  console.error
    Error loading facets for selection.

      333 |       this.setState({ facetList, facetListLoading: false });
      334 |     } catch {
    > 335 |       console.error("Error loading facets for selection.");
          |               ^
      336 |       this.setState({ facetListLoading: false, facetListError: true });
      337 |     }
      338 |   }

      at Chart.<anonymous> (js/tools/timeline/chart.tsx:335:15)
          at Generator.throw (<anonymous>)
      at rejected (js/tools/timeline/chart.tsx:29:65)

PASS js/tools/timeline/page.test.tsx (14.569 s)
  ✓ Single place and single stat var (848 ms)
  ✓ statVar not in PV-tree (217 ms)
  ✓ chart options (409 ms)

PASS js/tools/scatter/util.test.ts
  ✓ updateHash (21 ms)
  ✓ applyHash (6 ms)

PASS js/tools/download/page.test.tsx (11.596 s)
  ✓ Loading options from URL (664 ms)
  ✓ Manually updating options (897 ms)

PASS js/shared/stats_var_labels.test.ts
  ✓ stats var label: marked for translation (151 ms)
  ✓ stats var label: compiled to en (69 ms)
  ✓ stats var label: compiled to es (82 ms)

PASS js/shared/stats_var_titles.test.ts
  ✓ stats var label: marked for translation (117 ms)
  ✓ stats var label: compiled to en (63 ms)
  ✓ stats var label: compiled to es (60 ms)

  console.error
    Error: Not implemented: navigation (except hash changes)
        at module.exports (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
        at navigateFetch (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/window/navigation.js:77:3)
        at exports.navigate (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/window/navigation.js:55:3)
        at Timeout._onTimeout (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js:81:7)
        at listOnTimeout (node:internal/timers:564:17)
        at processTimers (node:internal/timers:507:7) {
      type: 'not implemented'
    }

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:70:23)

  console.error
    Warning: An update to Dialog inside a test was not wrapped in act(...).
    
    When testing, code that causes React state updates should be wrapped into act(...):
    
    act(() => {
      /* fire events that update state */
    });
    /* assert on the output */
    
    This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act
        at Dialog (/workspace/static/js/components/elements/dialog/dialog.tsx:292:3)
        at FacetSelectorSimple (/workspace/static/js/shared/facet_selector/facet_selector_simple.tsx:86:3)
        at FacetSelector
        at div
        at /workspace/static/node_modules/@emotion/react/dist/emotion-element-832b737b.browser.cjs.js:71:23
        at ToolChartHeader (/workspace/static/js/tools/shared/vis_tools/tool_chart_header.tsx:66:26)
        at ThemeProvider (/workspace/static/node_modules/@emotion/react/dist/emotion-element-832b737b.browser.cjs.js:111:32)

      361 |         if (fadeOutDuration > 0) {
      362 |           closeTimeoutRef.current = window.setTimeout(() => {
    > 363 |             setIsClosing(false);
          |             ^
      364 |             closeTimeoutRef.current = null;
      365 |           }, fadeOutDuration);
      366 |         } else {

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:67:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:43:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:24064:9)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:16135:9)
      at js/components/elements/dialog/dialog.tsx:363:13

  console.error
    Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
        at Dialog (/workspace/static/js/components/elements/dialog/dialog.tsx:292:3)
        at FacetSelectorSimple (/workspace/static/js/shared/facet_selector/facet_selector_simple.tsx:86:3)
        at FacetSelector
        at div
        at /workspace/static/node_modules/@emotion/react/dist/emotion-element-832b737b.browser.cjs.js:71:23
        at ToolChartHeader (/workspace/static/js/tools/shared/vis_tools/tool_chart_header.tsx:66:26)
        at ThemeProvider (/workspace/static/node_modules/@emotion/react/dist/emotion-element-832b737b.browser.cjs.js:111:32)

      361 |         if (fadeOutDuration > 0) {
      362 |           closeTimeoutRef.current = window.setTimeout(() => {
    > 363 |             setIsClosing(false);
          |             ^
      364 |             closeTimeoutRef.current = null;
      365 |           }, fadeOutDuration);
      366 |         } else {

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:67:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:43:5)
      at warnAboutUpdateOnUnmountedFiberInDEV (node_modules/react-dom/cjs/react-dom.development.js:23914:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21840:5)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:16139:5)
      at js/components/elements/dialog/dialog.tsx:363:13

PASS js/shared/ga_events.test.tsx (41.242 s)
  test ga event tool chart plot
    ✓ call gtag when a map tool chart is mounted or updated with different stat vars or places (156 ms)
    ✓ call gtag when a timeline tool chart is mounted or updated with different stat vars or places  (85 ms)
    ✓ call gtag when a scatter tool chart is mounted or updated with different stat vars or places  (125 ms)
  test ga event tool stat var click
    ✓ call gtag when a stat var is selected in the stat var hierarchy (329 ms)
  test ga event tool place add
    ✓ call gtag when a place is added in the place search bar (22 ms)
  test ga event tool stat var search no result
    ✓ call gtag when no result is shown to search term in stat var hierarchy (313 ms)
  test ga event tool chart plot option
    ✓ call gtag when timeline tool chart option is clicked (37 ms)
    ✓ call gtag when scatter tool chart option is clicked (81 ms)
    ✓ call gtag when map tool chart option is clicked (49 ms)
  test ga event for the FacetSelector component
    ✓ triggers GA event when FacetSelector's update button is clicked (181 ms)
  test ga event for Related Topics experiment
    ✓ triggers GA event when FollowUpQuestion URL is clicked (271 ms)
    ✓ triggers GA event when Header Related Topics URL is clicked (21 ms)
    ✓ triggers GA event when FollowUpQuestion component is viewed (24 ms)
    ✓ triggers GA event when Header RelatedTopics component is viewed (15 ms)
    ✓ triggers GA event when Follow Up Questions component renders questions (24 ms)
  test ga event for Page Overview experiment
    ✓ triggers GA event when Page Overview component is rendered (10 ms)
    ✓ triggers GA event when Page Overview component is initially viewed (25 ms)
    ✓ triggers GA event when Page Overview is viewed twice (23 ms)
    ✓ triggers GA event before unload, recording the view time of Page Overview (38 ms)
    ✓ triggers GA event when Page Overview link is clicked (23 ms)
    ✓ triggers GA event when Page Overview link is clicked twice (22 ms)
    ✓ triggers GA event when Page Overview loads counting anchor elements (27 ms)

PASS js/utils/tests/search_utils.test.tsx
  ✓ getHighlightedJSX (24 ms)

PASS js/utils/tests/tile_utils.test.ts
  ✓ formatString (5 ms)
  ✓ getStatVarName (18 ms)

PASS js/import_wizard/utils/detect_date.test.tsx
  ✓ dateDetectionBasics (3 ms)
  ✓ dateHeaderDetectionBasics (2 ms)
  ✓ dateColumnDetection (3 ms)

PASS js/utils/tests/url_utils.test.ts
  getUpdatedHash
    ✓ updates single param and removes others (7 ms)
    ✓ removes param if value is empty string (2 ms)
    ✓ adds new param (1 ms)
    ✓ persists only PARAMS_TO_PERSIST (2 ms)
    ✓ removes all except persisted and new (2 ms)
    ✓ works with empty hash (2 ms)

PASS js/tools/scatter/app.test.tsx (41.956 s)
  ✓ all functionalities (2388 ms)

PASS js/utils/tests/string_utils.test.ts
  ✓ get common prefix (21 ms)
  ✓ formatDate (3 ms)
  ✓ is valid date (3 ms)

PASS js/i18n/i18n.periodicity.test.ts
  ✓ humanizeIsoDuration with English defaults (39 ms)

PASS js/utils/tests/app/disaster_dashboard_utils.test.ts
  ✓ getFilteredParentPlaces (6 ms)

PASS js/tools/shared/metadata/tile_metadata_modal.test.tsx
  TileMetadataModal - error path
    ✓ shows error message and hides copy citation when metadata fetch fails (181 ms)

PASS js/import_wizard/utils/file_processing.test.ts
  ✓ processValueMapFile (6 ms)

PASS js/tools/stat_var/dataset_selector.test.tsx
  DatasetSelector
    ✓ renders the component with initial props (24 ms)
    ✓ calls updateHash when a new source is selected (6 ms)
    ✓ calls updateHash when a new dataset is selected (10 ms)

PASS js/stat_var_hierarchy/stat_var_section.test.tsx
  ✓ getPrefix (12 ms)

PASS nodejs_server/tiles/utils.test.ts
  ✓ compress and decompress chart props (7 ms)

PASS js/chart/draw.test.ts
  ✓ svg test (21 ms)
  ✓ get dashes (2 ms)

PASS js/utils/tests/stat_metadata_utils.test.ts
  ✓ getUnit (3 ms)

PASS js/shared/util.test.ts
  ✓ isDateTooFar (4 ms)
  ✓ getCappedStatVarDate (4 ms)

PASS js/utils/tests/subject_page_utils.test.ts
  ✓ get relLink (5 ms)

PASS js/browser/types.test.ts
  ✓ getPageDisplayType (5 ms)

PASS js/utils/tests/place_utils.test.ts
  ✓ get place names (66 ms)

PASS js/utils/tests/axios.test.ts
  ✓ stringfy url params (6 ms)

PASS nodejs_server/query.test.ts (27.911 s)
  ✓ getQueryResult (68 ms)
  ✓ getQueryResult with surface (22 ms)

PASS js/components/tiles/bar_tile.test.tsx (9.423 s)
  BarTile
    ✓ Bar tile with non-place entities should render (306 ms)

PASS js/import_wizard2/templates.test.tsx
  ✓ all templates options should have mapping sections (2 ms)

Test Suites: 55 passed, 55 total
Tests:       265 passed, 265 total
Snapshots:   9 passed, 9 total
Time:        48.058 s
Ran all test suites.
✅ Ran 3 scripts and skipped 0 in 60.2s.
PUSH
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/20043e77-28ca-477d-9531-7cc7881f658d?project=879489846695