Skip to content

Revert stateswithhighestphds change

3da27b7
Select commit
Loading
Failed to load commit list.
Merged

Automated Integration Test Goldens Update from CI #6106

Revert stateswithhighestphds change
3da27b7
Select commit
Loading
Failed to load commit list.
Google Cloud Build / website-pull-request-npm (datcom-ci) succeeded Mar 20, 2026 in 6m 43s

Summary

Build Information

Trigger website-pull-request-npm
Build e464df06-ea7f-4c17-9e23-a98ae7b2ec2a
Start 2026-03-20T11:10:13-07:00
Duration 5m46.169s
Status SUCCESS

Steps

Step Status Duration
client-test SUCCESS 5m33.496s

Details

starting build "e464df06-ea7f-4c17-9e23-a98ae7b2ec2a"

FETCHSOURCE
From https://github.com/datacommonsorg/website
 * branch            3da27b72d22a4031fd85861407ab723ee295c6ba -> FETCH_HEAD
Updating files:  97% (2284/2352)
Updating files:  98% (2305/2352)
Updating files:  99% (2329/2352)
Updating files: 100% (2352/2352)
Updating files: 100% (2352/2352), done.
HEAD is now at 3da27b7 Revert stateswithhighestphds change
GitCommit:
3da27b72d22a4031fd85861407ab723ee295c6ba
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
dd5c82065067: Waiting
c79cd3db6e51: Waiting
71f0d0490247: Waiting
8674d43d4892: Waiting
574e4ed3a819: Waiting
81f0d49e568a: Waiting
6d2718751084: Waiting
8061492fb0d0: Waiting
bdb0d3f2b395: Waiting
b471a8c3f1d6: Waiting
4bc2eda9354f: Download complete
09be68c4cfd1: Verifying Checksum
09be68c4cfd1: Download complete
cc6fff309142: Download complete
4f2fc846f636: Verifying Checksum
4f2fc846f636: Download complete
b471a8c3f1d6: Verifying Checksum
b471a8c3f1d6: Download complete
c79cd3db6e51: Verifying Checksum
c79cd3db6e51: Download complete
dd5c82065067: Verifying Checksum
dd5c82065067: Download complete
8674d43d4892: Verifying Checksum
8674d43d4892: Download complete
71f0d0490247: Verifying Checksum
71f0d0490247: Download complete
b85a868b505f: Verifying Checksum
b85a868b505f: Download complete
81f0d49e568a: Download complete
574e4ed3a819: Verifying Checksum
574e4ed3a819: Download complete
a407a484e74b: Verifying Checksum
a407a484e74b: Download complete
bdb0d3f2b395: Verifying Checksum
bdb0d3f2b395: Download complete
b85a868b505f: Pull complete
4bc2eda9354f: Pull complete
8061492fb0d0: Verifying Checksum
8061492fb0d0: Download complete
6d2718751084: Verifying Checksum
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
+ ./build/node/load_preinstalled_modules.sh
+ ./run_test.sh -l
### Running lint
datacommons.org@1.0.0 /workspace/static
+-- @typescript-eslint/eslint-plugin@5.30.7
| +-- @typescript-eslint/type-utils@5.30.7
| | `-- eslint@7.32.0 deduped
| +-- @typescript-eslint/utils@5.30.7
| | +-- eslint-utils@3.0.0
| | | `-- eslint@7.32.0 deduped
| | `-- eslint@7.32.0 deduped
| `-- eslint@7.32.0 deduped
+-- @typescript-eslint/parser@5.30.7
| `-- eslint@7.32.0 deduped
+-- eslint-config-prettier@6.11.0
| `-- eslint@7.32.0 deduped
+-- eslint-plugin-prettier@3.1.4
| `-- eslint@7.32.0 deduped
+-- eslint-plugin-react-hooks@4.3.0
| `-- eslint@7.32.0 deduped
+-- eslint-plugin-react@7.20.6
| `-- eslint@7.32.0 deduped
+-- eslint-plugin-simple-import-sort@7.0.0
| `-- eslint@7.32.0 deduped
`-- eslint@7.32.0


> datacommons.org@1.0.0 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
  295:6  warning  React Hook useEffect has missing dependencies: 'changeText' and 'inputText'. Either include them or remove the dependency array       react-hooks/exhaustive-deps
  308:6  warning  React Hook useEffect has a missing dependency: 'executeQuery'. Either include it or remove the dependency array                       react-hooks/exhaustive-deps
  403: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/auto_complete_suggestions.tsx
  155:6  warning  React Hook useEffect has a missing dependency: 'calculatedInitalVisibleResults'. 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
  50: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/bar_tile.tsx
   80:10  warning  'buildExploreUrl' is defined but never used      @typescript-eslint/no-unused-vars
  758:10  warning  'getExploreLink' is defined but never used       @typescript-eslint/no-unused-vars
  781:10  warning  'getHyperlinkFn' is defined but never used       @typescript-eslint/no-unused-vars
  788:9   warning  'placeDcids' is assigned a value but never used  @typescript-eslint/no-unused-vars

/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
  330: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
  143: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
  194:6  warning  React Hook useEffect has missing dependencies: 'areDataPropsEqual' and 'props'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  216: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/dev/subject_page_tiles.tsx
  30:5  warning  Identifier 'Count_Person' is not in camel case         camelcase
  38:5  warning  Identifier 'Count_Person_Female' is not in camel case  camelcase
  46:5  warning  Identifier 'Count_Person_Male' is not in camel case    camelcase
  54:5  warning  Identifier 'Median_Age_Person' is not in camel case    camelcase

/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.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
  266: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/place_details.tsx
  177:9  warning  'parentPlaces' is assigned a value but never used  @typescript-eslint/no-unused-vars

/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
  139: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
  182:6   warning  React Hook useEffect has a missing dependency: 'replot'. Either include it or remove the dependency array                                                                         react-hooks/exhaustive-deps
  196:6   warning  React Hook useEffect has a missing dependency: 'statVars'. Either include it or remove the dependency array                                                                       react-hooks/exhaustive-deps
  196: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
  196: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
  395: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
  102: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
  109: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/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

✖ 76 problems (0 errors, 76 warnings)

+ ./run_test.sh -b
### Build client-side packages

added 13 packages, and changed 25 packages in 3s

29 packages are looking for funding
  run `npm fund` for details
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'cliui@9.0.1',
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: 'yargs@18.0.0',
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: 'yargs-parser@22.0.0',
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 5s

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

added 48 packages, removed 601 packages, and changed 155 packages in 15s

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

> datacommons.org@1.0.0 dev-build
> wireit

Analyzing
  0% [0 / 3] [2 running] ../packages/client:build
 33% [1 / 3] [1 running] ../packages/client:build
#### Building webpack in development mode
assets by path �[1m�[32m*.js�[39m�[22m 156 MiB 78 assets
assets by path �[1m�[32mimages/�[39m�[22m 19.2 MiB 48 assets
assets by path �[1m�[32mcustom_dc/�[39m�[22m 4.47 MiB 41 assets
assets by path �[1m�[32mcss/�[39m�[22m 11 MiB 35 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 244 KiB 402 modules
orphan modules 470 KiB �[1m�[33m[orphan]�[39m�[22m 280 modules
javascript modules 9.68 MiB
  modules by path �[1m./node_modules/�[39m�[22m 6.83 MiB 1365 modules
  modules by path �[1m./js/�[39m�[22m 2.4 MiB 523 modules
  modules by path �[1m./css/�[39m�[22m 224 KiB 35 modules
  modules by path �[1m./library/*.ts�[39m�[22m 79.2 KiB 14 modules
  + 6 modules
json modules 759 KiB
  optional modules 582 KiB �[1m�[33m[optional]�[39m�[22m 35 modules
  modules by path �[1m./js/apps/�[39m�[22m 125 KiB 4 modules
  modules by path �[1m./js/import_wizard/�[39m�[22m 37.8 KiB 2 modules
  �[1m./js/i18n/compiled-lang/en/units.json�[39m�[22m 2.07 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
  �[1m./js/tools/shared/place_selector/place_hierarchy.json�[39m�[22m 12.3 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
webpack 5.94.0 compiled �[1m�[32msuccessfully�[39m�[22m in 155649 ms
✅ Ran 3 scripts and skipped 0 in 168.7s.
+ ./run_test.sh -c
### Running client tests

up to date in 522ms

29 packages are looking for funding
  run `npm fund` for details
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'cliui@9.0.1',
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: 'yargs@18.0.0',
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: 'yargs-parser@22.0.0',
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 4s

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

> datacommons.org@1.0.0 test
> wireit

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

PASS js/import_wizard/utils/detect_place.test.tsx (16.845 s)
  ✓ placeTypesAndProperties (17 ms)
  ✓ supportedPlaceTypeProperties (24 ms)
  ✓ placeDetectionKeys
  ✓ countries (9 ms)
  ✓ States (13 ms)
  ✓ placeLowConfidenceDetection (8 ms)
  ✓ detectionLowConf (4 ms)
  ✓ countryHighConf (9 ms)
  ✓ stateHighConf (4 ms)
  ✓ placeDetection (3 ms)
  ✓ countryNumericVsStateFIPS (3 ms)

PASS js/import_wizard2/utils/file_generation.test.ts
  ✓ generateTranslationMetadataJson (5 ms)
  ✓ shouldGenerateCsv (3 ms)
  ✓ generateCsvNoValueMap (56 ms)
  ✓ generateCsvWithValueMap (3 ms)
  ✓ generateCsvDiffHeaderAndDataRows (3 ms)

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

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

PASS js/utils/tests/disaster_event_map_utils.test.ts (19.904 s)
  ✓ fetch date list for all disasters (107 ms)
  ✓ fetch date list for single disaster multiple event types (15 ms)
  ✓ fetch date list for single eventType (36 ms)
  ✓ fetch data for single disaster multiple events with date as YYYY-MM (32 ms)
  ✓ fetch data for single disaster multiple events with date as YYYY (79 ms)
  ✓ fetch data for single event with date as YYYY-MM (31 ms)
  ✓ fetch data for single event with date as YYYY (15 ms)
  ✓ getMapPointsData (17 ms)

PASS js/import_wizard/utils/tmcf_generation.test.tsx
  ✓ SingleNodeTMCF (9 ms)
  ✓ MultiNodeTMCF_DateValueInHeader (1 ms)
  ✓ MultiNodeTMCF_PlaceValueInHeader (1 ms)
  ✓ MultiNodeTMCF_PlaceValueInHeader_DiffPlaceTypes (1 ms)
  ✓ SingleNodeTMCFWithUnitColumnConstant (1 ms)
  ✓ MultiNodeTMCF_UnitAsSomeColumnConstants (4 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 (20.952 s)
  ✓ fetch raw data (103 ms)
  ✓ get stats data with state code (2 ms)
  ✓ get stats data where l
...
[Logs truncated due to log size limitations. For full logs, see https://console.cloud.google.com/cloud-build/builds/e464df06-ea7f-4c17-9e23-a98ae7b2ec2a?project=879489846695.]
...
s:12318:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:12339:9)
      at commitLifeCycles (node_modules/react-dom/cjs/react-dom.development.js:20709:11)

PASS js/tools/download/page.test.tsx (14.8 s)
  ✓ Loading options from URL (706 ms)
  ✓ Manually updating options (729 ms)

  console.error
    Error enriching facets: ReferenceError: fetch is not defined
        at fetchFacetsWithMetadata (/workspace/static/js/tools/shared/metadata/metadata_fetcher.ts:88:22)
        at Chart.enrichFacets (/workspace/static/js/tools/timeline/chart.tsx:469:53)
        at Chart.<anonymous> (/workspace/static/js/tools/timeline/chart.tsx:453:19)
        at callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12318:12)
        at commitUpdateQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12339:9)
        at commitLifeCycles (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:20709:11)
        at commitLayoutEffects (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23426:7)
        at HTMLUnknownElement.callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
        at HTMLUnknownElement.callTheUserObjectsOperation (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
        at innerInvokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25)
        at invokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3)
        at HTMLUnknownElementImpl._dispatch (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9)
        at HTMLUnknownElementImpl.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
        at HTMLUnknownElement.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
        at invokeGuardedCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
        at commitRootImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23151:9)
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at commitRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22990:3)
        at performSyncWorkOnRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22329:3)
        at /workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11327:26
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at flushSyncCallbackQueueImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11322:9)
        at flushSyncCallbackQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11309:3)
        at scheduleUpdateOnFiber (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:21893:9)
        at Object.enqueueSetState (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12467:5)
        at Chart.Object.<anonymous>.Component.setState (/workspace/static/node_modules/react/cjs/react.development.js:365:16)
        at Chart.loadRawData (/workspace/static/js/tools/timeline/chart.tsx:452:12)
        at processTicksAndRejections (node:internal/process/task_queues:95:5)

      103 |     return await response.json();
      104 |   } catch (e) {
    > 105 |     console.error("Error enriching facets:", e);
          |             ^
      106 |     return facets;
      107 |   }
      108 | }

      at fetchFacetsWithMetadata (js/tools/shared/metadata/metadata_fetcher.ts:105:13)
      at Chart.enrichFacets (js/tools/timeline/chart.tsx:469:53)
      at Chart.<anonymous> (js/tools/timeline/chart.tsx:453:19)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:12318:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:12339:9)
      at commitLifeCycles (node_modules/react-dom/cjs/react-dom.development.js:20709:11)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:23426:7)

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

  console.error
    Error enriching facets: ReferenceError: fetch is not defined
        at fetchFacetsWithMetadata (/workspace/static/js/tools/shared/metadata/metadata_fetcher.ts:88:22)
        at Chart.enrichFacets (/workspace/static/js/tools/timeline/chart.tsx:469:53)
        at Chart.<anonymous> (/workspace/static/js/tools/timeline/chart.tsx:453:19)
        at callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12318:12)
        at commitUpdateQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12339:9)
        at commitLifeCycles (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:20709:11)
        at commitLayoutEffects (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23426:7)
        at HTMLUnknownElement.callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
        at HTMLUnknownElement.callTheUserObjectsOperation (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
        at innerInvokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25)
        at invokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3)
        at HTMLUnknownElementImpl._dispatch (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9)
        at HTMLUnknownElementImpl.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
        at HTMLUnknownElement.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
        at invokeGuardedCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
        at commitRootImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23151:9)
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at commitRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22990:3)
        at performSyncWorkOnRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22329:3)
        at /workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11327:26
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at flushSyncCallbackQueueImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11322:9)
        at flushSyncCallbackQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11309:3)
        at scheduleUpdateOnFiber (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:21893:9)
        at Object.enqueueSetState (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12467:5)
        at Chart.Object.<anonymous>.Component.setState (/workspace/static/node_modules/react/cjs/react.development.js:365:16)
        at Chart.loadRawData (/workspace/static/js/tools/timeline/chart.tsx:452:12)

      103 |     return await response.json();
      104 |   } catch (e) {
    > 105 |     console.error("Error enriching facets:", e);
          |             ^
      106 |     return facets;
      107 |   }
      108 | }

      at fetchFacetsWithMetadata (js/tools/shared/metadata/metadata_fetcher.ts:105:13)
      at Chart.enrichFacets (js/tools/timeline/chart.tsx:469:53)
      at Chart.<anonymous> (js/tools/timeline/chart.tsx:453:19)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:12318:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:12339:9)
      at commitLifeCycles (node_modules/react-dom/cjs/react-dom.development.js:20709:11)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:23426:7)

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

  console.error
    Error enriching facets: ReferenceError: fetch is not defined
        at fetchFacetsWithMetadata (/workspace/static/js/tools/shared/metadata/metadata_fetcher.ts:88:22)
        at Chart.enrichFacets (/workspace/static/js/tools/timeline/chart.tsx:469:53)
        at Chart.<anonymous> (/workspace/static/js/tools/timeline/chart.tsx:453:19)
        at callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12318:12)
        at commitUpdateQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12339:9)
        at commitLifeCycles (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:20709:11)
        at commitLayoutEffects (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23426:7)
        at HTMLUnknownElement.callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
        at HTMLUnknownElement.callTheUserObjectsOperation (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
        at innerInvokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25)
        at invokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3)
        at HTMLUnknownElementImpl._dispatch (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9)
        at HTMLUnknownElementImpl.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
        at HTMLUnknownElement.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
        at invokeGuardedCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
        at commitRootImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23151:9)
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at commitRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22990:3)
        at performSyncWorkOnRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22329:3)
        at /workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11327:26
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at flushSyncCallbackQueueImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11322:9)
        at flushSyncCallbackQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11309:3)
        at scheduleUpdateOnFiber (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:21893:9)
        at Object.enqueueSetState (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12467:5)
        at Chart.Object.<anonymous>.Component.setState (/workspace/static/node_modules/react/cjs/react.development.js:365:16)
        at Chart.loadRawData (/workspace/static/js/tools/timeline/chart.tsx:452:12)

      103 |     return await response.json();
      104 |   } catch (e) {
    > 105 |     console.error("Error enriching facets:", e);
          |             ^
      106 |     return facets;
      107 |   }
      108 | }

      at fetchFacetsWithMetadata (js/tools/shared/metadata/metadata_fetcher.ts:105:13)
      at Chart.enrichFacets (js/tools/timeline/chart.tsx:469:53)
      at Chart.<anonymous> (js/tools/timeline/chart.tsx:453:19)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:12318:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:12339:9)
      at commitLifeCycles (node_modules/react-dom/cjs/react-dom.development.js:20709:11)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:23426:7)

  console.error
    Error enriching facets: ReferenceError: fetch is not defined
        at fetchFacetsWithMetadata (/workspace/static/js/tools/shared/metadata/metadata_fetcher.ts:88:22)
        at Chart.enrichFacets (/workspace/static/js/tools/timeline/chart.tsx:469:53)
        at Chart.<anonymous> (/workspace/static/js/tools/timeline/chart.tsx:453:19)
        at callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12318:12)
        at commitUpdateQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12339:9)
        at commitLifeCycles (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:20709:11)
        at commitLayoutEffects (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23426:7)
        at HTMLUnknownElement.callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
        at HTMLUnknownElement.callTheUserObjectsOperation (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
        at innerInvokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25)
        at invokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3)
        at HTMLUnknownElementImpl._dispatch (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9)
        at HTMLUnknownElementImpl.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
        at HTMLUnknownElement.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
        at invokeGuardedCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
        at commitRootImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23151:9)
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at commitRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22990:3)
        at performSyncWorkOnRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22329:3)
        at /workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11327:26
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at flushSyncCallbackQueueImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11322:9)
        at flushSyncCallbackQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11309:3)
        at scheduleUpdateOnFiber (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:21893:9)
        at Object.enqueueSetState (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12467:5)
        at Chart.Object.<anonymous>.Component.setState (/workspace/static/node_modules/react/cjs/react.development.js:365:16)
        at Chart.loadRawData (/workspace/static/js/tools/timeline/chart.tsx:452:12)
        at processTicksAndRejections (node:internal/process/task_queues:95:5)

      103 |     return await response.json();
      104 |   } catch (e) {
    > 105 |     console.error("Error enriching facets:", e);
          |             ^
      106 |     return facets;
      107 |   }
      108 | }

      at fetchFacetsWithMetadata (js/tools/shared/metadata/metadata_fetcher.ts:105:13)
      at Chart.enrichFacets (js/tools/timeline/chart.tsx:469:53)
      at Chart.<anonymous> (js/tools/timeline/chart.tsx:453:19)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:12318:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:12339:9)
      at commitLifeCycles (node_modules/react-dom/cjs/react-dom.development.js:20709:11)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:23426:7)

  console.error
    Error enriching facets: ReferenceError: fetch is not defined
        at fetchFacetsWithMetadata (/workspace/static/js/tools/shared/metadata/metadata_fetcher.ts:88:22)
        at Chart.enrichFacets (/workspace/static/js/tools/timeline/chart.tsx:469:53)
        at Chart.<anonymous> (/workspace/static/js/tools/timeline/chart.tsx:453:19)
        at callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12318:12)
        at commitUpdateQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12339:9)
        at commitLifeCycles (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:20709:11)
        at commitLayoutEffects (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23426:7)
        at HTMLUnknownElement.callCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3945:14)
        at HTMLUnknownElement.callTheUserObjectsOperation (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
        at innerInvokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:340:25)
        at invokeEventListeners (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:276:3)
        at HTMLUnknownElementImpl._dispatch (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:223:9)
        at HTMLUnknownElementImpl.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:94:17)
        at HTMLUnknownElement.dispatchEvent (/workspace/static/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:3994:16)
        at invokeGuardedCallback (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:4056:31)
        at commitRootImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:23151:9)
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at commitRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22990:3)
        at performSyncWorkOnRoot (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:22329:3)
        at /workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11327:26
        at unstable_runWithPriority (/workspace/static/node_modules/scheduler/cjs/scheduler.development.js:468:12)
        at runWithPriority$1 (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11276:10)
        at flushSyncCallbackQueueImpl (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11322:9)
        at flushSyncCallbackQueue (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:11309:3)
        at scheduleUpdateOnFiber (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:21893:9)
        at Object.enqueueSetState (/workspace/static/node_modules/react-dom/cjs/react-dom.development.js:12467:5)
        at Chart.Object.<anonymous>.Component.setState (/workspace/static/node_modules/react/cjs/react.development.js:365:16)
        at Chart.loadRawData (/workspace/static/js/tools/timeline/chart.tsx:452:12)
        at processTicksAndRejections (node:internal/process/task_queues:95:5)

      103 |     return await response.json();
      104 |   } catch (e) {
    > 105 |     console.error("Error enriching facets:", e);
          |             ^
      106 |     return facets;
      107 |   }
      108 | }

      at fetchFacetsWithMetadata (js/tools/shared/metadata/metadata_fetcher.ts:105:13)
      at Chart.enrichFacets (js/tools/timeline/chart.tsx:469:53)
      at Chart.<anonymous> (js/tools/timeline/chart.tsx:453:19)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:12318:12)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:12339:9)
      at commitLifeCycles (node_modules/react-dom/cjs/react-dom.development.js:20709:11)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:23426:7)

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

PASS js/tools/timeline/page.test.tsx (17.579 s)
  ✓ Single place and single stat var (1022 ms)
  ✓ statVar not in PV-tree (175 ms)
  ✓ chart options (581 ms)

PASS js/i18n/i18n.periodicity.test.ts
  ✓ humanizeIsoDuration with English defaults (24 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: 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 FacetSelectorModal (/workspace/static/js/shared/facet_selector/facet_selector.tsx:340:5)
        at FacetSelector (/workspace/static/js/shared/facet_selector/facet_selector.tsx:170:5)
        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/components/tiles/bar_tile.test.tsx (12.41 s)
  BarTile
    ✓ Bar tile with non-place entities should render (434 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 (216 ms)

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

PASS js/shared/ga_events.test.tsx (41.41 s)
  test ga event tool chart plot
    ✓ call gtag when a map tool chart is mounted or updated with different stat vars or places (150 ms)
    ✓ call gtag when a timeline tool chart is mounted or updated with different stat vars or places  (113 ms)
    ✓ call gtag when a scatter tool chart is mounted or updated with different stat vars or places  (103 ms)
  test ga event tool stat var click
    ✓ call gtag when a stat var is selected in the stat var hierarchy (208 ms)
  test ga event tool place add
    ✓ call gtag when a place is added in the place search bar (56 ms)
  test ga event tool stat var search no result
    ✓ call gtag when no result is shown to search term in stat var hierarchy (316 ms)
  test ga event tool chart plot option
    ✓ call gtag when timeline tool chart option is clicked (146 ms)
    ✓ call gtag when scatter tool chart option is clicked (97 ms)
    ✓ call gtag when map tool chart option is clicked (37 ms)
  test ga event for the FacetSelector component
    ✓ triggers GA event when FacetSelector's update button is clicked (139 ms)
  test ga event for Related Topics experiment
    ✓ triggers GA event when FollowUpQuestion URL is clicked (119 ms)
    ✓ triggers GA event when Header Related Topics URL is clicked (112 ms)
    ✓ triggers GA event when FollowUpQuestion component is viewed (22 ms)
    ✓ triggers GA event when Header RelatedTopics component is viewed (18 ms)
    ✓ triggers GA event when Follow Up Questions component renders questions (57 ms)
  test ga event for Page Overview experiment
    ✓ triggers GA event when Page Overview component is rendered (26 ms)
    ✓ triggers GA event when Page Overview component is initially viewed (30 ms)
    ✓ triggers GA event when Page Overview is viewed twice (28 ms)
    ✓ triggers GA event before unload, recording the view time of Page Overview (16 ms)
    ✓ triggers GA event when Page Overview link is clicked (23 ms)
    ✓ triggers GA event when Page Overview link is clicked twice (30 ms)
    ✓ triggers GA event when Page Overview loads counting anchor elements (30 ms)

PASS nodejs_server/query.test.ts (41.445 s)
  ✓ getQueryResult (79 ms)
  ✓ getQueryResult with surface (21 ms)

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

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

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

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

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

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

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

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

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

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

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

PASS js/browser/out_arc_section.test.tsx
  test shouldIgnoreProperty
    ✓ should return "provenance" for true (10 ms)
    ✓ should return "kmlCoordinates" for true
    ✓ should return "firePerimeter" for true (1 ms)
    ✓ should return "geoJsonCoordinates" for true (1 ms)
    ✓ should return "geoJsonCoordinatesDP1" for true
    ✓ should return "geoJsonCoordinatesDP3" for true (1 ms)
    ✓ should return "geoJsonCoordinatesUN" for true
    ✓ should return "geoJsonCoordinatesIndia" for true (1 ms)
    ✓ should return "name" for false
    ✓ should return "typeOf" for false
    ✓ should return "description" for false
    ✓ should return "dcid" for false

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

Test Suites: 55 passed, 55 total
Tests:       294 passed, 294 total
Snapshots:   8 passed, 8 total
Time:        45.959 s
Ran all test suites.
✅ Ran 3 scripts and skipped 0 in 58s.
PUSH
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/e464df06-ea7f-4c17-9e23-a98ae7b2ec2a?project=879489846695