[Vis Tools] Add more examples to landing pages #5863
Merged
Google Cloud Build / website-pull-request-npm (datcom-ci)
succeeded
Jan 15, 2026 in 6m 50s
Summary
Build Information
| Trigger | website-pull-request-npm |
| Build | 9a1f5729-c014-46c2-b802-259ef15f8249 |
| Start | 2026-01-14T15:56:04-08:00 |
| Duration | 5m43.875s |
| Status | SUCCESS |
Steps
| Step | Status | Duration |
|---|---|---|
| client-test | SUCCESS | 5m33.665s |
Details
starting build "9a1f5729-c014-46c2-b802-259ef15f8249"
FETCHSOURCE
From https://github.com/datacommonsorg/website
* branch 2c07c8ea9091d63bd4a6068faeed5cab0ac53552 -> FETCH_HEAD
Updating files: 89% (2158/2424)
Updating files: 90% (2182/2424)
Updating files: 91% (2206/2424)
Updating files: 92% (2231/2424)
Updating files: 93% (2255/2424)
Updating files: 94% (2279/2424)
Updating files: 95% (2303/2424)
Updating files: 96% (2328/2424)
Updating files: 97% (2352/2424)
Updating files: 98% (2376/2424)
Updating files: 99% (2400/2424)
Updating files: 100% (2424/2424)
Updating files: 100% (2424/2424), done.
HEAD is now at 2c07c8e Remove example with power plant installations, along with ppt param
GitCommit:
2c07c8ea9091d63bd4a6068faeed5cab0ac53552
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
81f0d49e568a: Waiting
6d2718751084: Waiting
c79cd3db6e51: Waiting
8061492fb0d0: Waiting
b471a8c3f1d6: Waiting
bdb0d3f2b395: Waiting
71f0d0490247: Waiting
dd5c82065067: Waiting
8674d43d4892: Waiting
574e4ed3a819: Waiting
09be68c4cfd1: Download complete
cc6fff309142: Download complete
4bc2eda9354f: Verifying Checksum
4bc2eda9354f: Download complete
dd5c82065067: Verifying Checksum
dd5c82065067: Download complete
4f2fc846f636: Verifying Checksum
4f2fc846f636: Download complete
b471a8c3f1d6: Verifying Checksum
b471a8c3f1d6: Download complete
c79cd3db6e51: Verifying Checksum
c79cd3db6e51: Download complete
a407a484e74b: Download complete
b85a868b505f: Verifying Checksum
b85a868b505f: Download complete
71f0d0490247: Verifying Checksum
71f0d0490247: Download complete
574e4ed3a819: Download complete
8674d43d4892: Download complete
81f0d49e568a: Verifying Checksum
81f0d49e568a: Download complete
b85a868b505f: Pull complete
4bc2eda9354f: Pull complete
bdb0d3f2b395: Verifying Checksum
bdb0d3f2b395: Download complete
8061492fb0d0: Verifying Checksum
8061492fb0d0: Download complete
a407a484e74b: Pull complete
cc6fff309142: Pull complete
09be68c4cfd1: Pull complete
4f2fc846f636: Pull complete
6d2718751084: Verifying Checksum
6d2718751084: Download 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
[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/bar_tile.tsx
80:10 warning 'buildExploreUrl' is defined but never used @typescript-eslint/no-unused-vars
757:10 warning 'getExploreLink' is defined but never used @typescript-eslint/no-unused-vars
780:10 warning 'getHyperlinkFn' is defined but never used @typescript-eslint/no-unused-vars
787: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
316: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
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/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
129: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
172:6 warning React Hook useEffect has a missing dependency: 'replot'. Either include it or remove the dependency array react-hooks/exhaustive-deps
186:6 warning React Hook useEffect has a missing dependency: 'statVars'. Either include it or remove the dependency array react-hooks/exhaustive-deps
186: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
186: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
362: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/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
✖ 70 problems (0 errors, 70 warnings)
+ ./run_test.sh -b
### 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 48 packages, removed 601 packages, and changed 154 packages in 14s
271 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
#### Building webpack in development mode
assets by path �[1m�[32m*.js�[39m�[22m 150 MiB 79 assets
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�[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 239 KiB 404 modules
orphan modules 467 KiB �[1m�[33m[orphan]�[39m�[22m 278 modules
javascript modules 9.99 MiB
modules by path �[1m./node_modules/�[39m�[22m 7 MiB 1375 modules
modules by path �[1m./js/�[39m�[22m 2.54 MiB 547 modules
modules by path �[1m./css/�[39m�[22m 224 KiB 38 modules
modules by path �[1m./library/*.ts�[39m�[22m 79.2 KiB 14 modules
+ 6 modules
json modules 747 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
�[1m./js/import_wizard/utils/country_mappings.json�[39m�[22m 30.7 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
�[1m./js/import_wizard/utils/state_mappings.json�[39m�[22m 7.14 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
�[1m./js/i18n/compiled-lang/en/units.json�[39m�[22m 2.07 KiB �[1m�[33m[built]�[39m�[22m �[1m�[33m[code generated]�[39m�[22m
webpack 5.94.0 compiled �[1m�[32msuccessfully�[39m�[22m in 159632 ms
✅ Ran 3 scripts and skipped 0 in 171.5s.
+ ./run_test.sh -c
### Running client tests
up to date in 471ms
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 4s
271 packages are looking for funding
run `npm fund` for details
> [email protected] test
> wireit
Analyzing
0% [0 / 3] [2 running] ../packages/web-components:build
33% [1 / 3] [1 running] ../packages/client:build
67% [2 / 3] [0 running]
67% [2 / 3] [1 running] test
PASS js/import_wizard2/utils/obs_generation.test.tsx (16.298 s)
✓ GenerateRowObservations_SingleValueColumn (6 ms)
✓ GenerateRowObservations_SingleValueColumn_UnitInColumn (2 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/detect_place.test.tsx (17.028 s)
✓ placeTypesAndProperties (18 ms)
✓ supportedPlaceTypeProperties (6 ms)
✓ placeDetectionKeys (1 ms)
✓ countries (7 ms)
✓ States (6 ms)
✓ placeLowConfidenceDetection (16 ms)
✓ detectionLowConf (4 ms)
✓ countryHighConf (25 ms)
✓ stateHighConf (3 ms)
✓ placeDetection (2 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 (1 ms)
✓ GenerateRowObservations_DateValuesInHeader (1 ms)
✓ GenerateRowObservations_DateValuesInHeader_ValueMap (2 ms)
✓ GenerateRowObservations_DateValuesInHeader_UnitsInColumns (1 ms)
PASS js/utils/tests/disaster_event_map_utils.test.ts (19.157 s)
✓ fetch date list for all disasters (82 ms)
✓ fetch date list for single disaster multiple event types (17 ms)
✓ fetch date list for single eventType (18 ms)
✓ fetch data for single disaster multiple events with date as YYYY-MM (24 ms)
✓ fetch data for single disaster multiple events with date as YYYY (60 ms)
✓ fetch data for single event with date as YYYY-MM (15 ms)
✓ fetch data for single event with date as YYYY (16 ms)
✓ getMapPointsData (1 ms)
PASS js/import_wizard2/utils/file_generation.test.ts
✓ generateTranslationMetadataJson (15 ms)
✓ shouldGenerateCsv (10 ms)
✓ generateCsvNoValueMap (44 ms)
✓ generateCsvWithValueMap (3 ms)
✓ generateCsvDiffHeaderAndDataRows (2 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.187 s)
✓ fetch raw data (68 ms)
✓ get stats data with state code (3 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 (1 ms)
✓ get stats data with Per capita with specified denominators (1 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 (1 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 (38 ms)
✓ countryDetection-twocolumns (4 ms)
✓ countryDetectionOrder (7 ms)
✓ dateDetection-headers (2 ms)
✓ dateDetection-columns (10 ms)
✓ dateDetection-headers-columns (2 ms)
✓ comboDetection-date-and-place (7 ms)
PASS js/import_wizard/utils/tmcf_generation.test.tsx
✓ SingleNodeTMCF (5 ms)
✓ MultiNodeTMCF_DateValueInHeader (5 ms)
✓ MultiNodeTMCF_PlaceValueInHeader (1 ms)
✓ MultiNodeTMCF_PlaceValueInHeader_DiffPlaceTypes (1 ms)
✓ SingleNodeTMCFWithUnitColumnConstant (1 ms)
✓ MultiNodeTMCF_UnitAsSomeColumnConstants (1 ms)
PASS js/import_wizard2/utils/detection.test.tsx
✓ jsonParsingPlaceDateColumns (37 ms)
✓ jsonParsingPlaceDateHeaders (5 ms)
✓ jsonParsingPlaceSkippedDateCorrect (2 ms)
✓ jsonParsingPlaceCorrectDateSkipped (2 ms)
✓ jsonParsingAllSkipped (1 ms)
✓ jsonParsingColumnIncorrect (1 ms)
✓ jsonParsingPropIncorrect (3 ms)
✓ 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 (32 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 (3 ms)
✓ should return correct url for when redirecting to the map tool, ignore invalid hash parameters (14 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 (3 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 (9 ms)
✓ should return correct url for scatter chart with place, place type, and 2 variables, with per capita on both axes (7 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 (6 ms)
✓ should return correct url for timeline landing page should redirect to timeline tool (2 ms)
✓ should return correct url for when redirecting to the timeline tool, ignore invalid hash parameters (4 ms)
✓ should return correct url for timeline chart with one place and multiple variables (7 ms)
✓ should return correct url for timeline chart with one variable and multiple places (8 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
✓ should return "scatter" for a scatter visType (1 ms)
✓ should return "timeline" for a timeline visType (1 ms)
✓ 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 (1 ms)
✓ should return "map" for an invalid visType should default to map (1 ms)
PASS js/import_wizard/utils/file_generation.test.ts
✓ generateTranslationMetadataJson (13 ms)
✓ shouldGenerateCsv (2 ms)
✓ generateCsvNoValueMap (21 ms)
✓ generateCsvWithValueMap (17 ms)
PASS js/utils/tests/chart_csv_utils.test.ts
✓ dataGroupsToCsv (6 ms)
✓ scatterDataToCsv (2 ms)
✓ dataPointsToCsv (1 ms)
✓ mapDataToCsv (16 ms)
✓ rankingPointsToCsv (1 ms)
PASS js/i18n/i18n.test.ts
✓ formatNumber (215 ms)
✓ translateUnit (29 ms)
✓ formatDate (16 ms)
PASS js/import_wizard2/utils/tmcf_generation.test.tsx
✓ SingleNodeTMCF (4 ms)
✓ MultiNodeTMCF_DateValueInHeader (1 ms)
✓ MultiNodeTMCF_PlaceValueInHeader
✓ SingleNodeTMCFWithUnitColumnConstant (1 ms)
✓ MultiNodeTMCF_UnitAsSomeColumnConstants (1 ms)
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 (70 ms)
✓ getPoint align (3 ms)
✓ getPointWithin no align (3 ms)
✓ getPointWithin (3 ms)
PASS js/import_wizard2/utils/validation.test.tsx
✓ Fail_MalformedMappingVal (4 ms)
✓ Fail_MissingRequiredPropsAndMultipleColumnHeaders (1 ms)
✓ Fail_ValueMissing (1 ms)
✓ Fail_NullInColumnHeaderValue (1 ms)
✓ Fail_DuplicateColumnHeaderValue
✓ Pass_DateInColumnHeader
✓ Pass_NoColumnHeader (1 ms)
PASS js/stat_var_hierarchy/stat_var_search.test.tsx (5.157 s)
✓ getResultCountString (8 ms)
StatVarHierarchySearch Component
✓ Should not show the "Load More Results" button when less than MAX_INITIAL_RESULTS are returned (119 ms)
✓ Should show the "Load More Results" button when exactly MAX_INITIAL_RESULTS are returned (143 ms)
✓ Should load up to MAX_TOTAL_RESULTS and remove the button when the Load More button is clicked (554 ms)
PASS js/import_wizard/utils/validation.test.tsx
✓ Fail_MalformedMappingVal (4 ms)
✓ Fail_MissingRequiredPropsAndMultipleColumnHeaders (1 ms)
✓ Fail_ValueMissing (25 ms)
✓ Fail_MissingPlaceProperties (1 ms)
✓ Pass_DateInColumnHeader
✓ Pass_NoColumnHeader (1 ms)
PASS js/biomedical/disease/data_processing_utils.test.tsx
✓ getDiseaseGeneAssociation (6 ms)
✓ getDiseaseSymptomAssociation (1 ms)
✓ getCompoundDiseaseTreatment (2 ms)
✓ getCompoundDiseaseContraindication (15 ms)
✓ getDiseaseCommonName (1 ms)
PASS js/chart/base.test.ts
✓ minOfNullValues (8 ms)
✓ shouldFillInValues (1 ms)
wrap tests
✓ wraps ab-d e f (21 ms)
✓ wraps a-b c (6 ms)
✓ wraps a b-c (5 ms)
✓ wraps a-b c (14 ms)
✓ wraps New York, NY (6 ms)
✓ wraps Queens, NY (5 ms)
✓ wraps Queens-NY (4 ms)
✓ wraps United-States-of-America (5 ms)
✓ wraps United States of America (34 ms)
✓ wraps United States of America (5 ms)
✓ wraps アメリカ合衆国 (8 ms)
✓ wraps ブロンクス区, ニューヨーク州 (4 ms)
✓ wraps ニューヨーク, ニューヨーク州 (6 ms)
PASS js/shared/feature_flags/util.test.ts
isFeatureEnabled
✓ returns true when enable param is present (19 ms)
✓ returns false when different URL params are present (16 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 (1 ms)
✓ returns true when rollout percentage is 100 (1 ms)
✓ returns false when rollout percentage is 0 (1 ms)
PASS js/biomedical/protein/data_processing_utils.test.tsx (33.732 s)
✓ getTissueScore (9 ms)
✓ getProteinInteraction (2 ms)
✓ getDiseaseGeneAssoc (5 ms)
✓ getVarGeneAssoc (2 ms)
✓ getVarTypeAssoc (10 ms)
✓ getVarSigAssoc (8 ms)
✓ getChemicalGeneAssoc (4 ms)
PASS js/tools/map/util.test.ts
✓ updateHashPlaceInfo (4 ms)
✓ updateHashStatVarInfo (1 ms)
✓ updateHashDisplay (1 ms)
✓ applyHashPlaceInfo (1 ms)
✓ applyHashStatVarInfo (1 ms)
✓ applyHashDisplay (1 ms)
✓ get time slider dates (2 ms)
PASS js/tools/shared_util.test.ts
✓ getMatchingObservation (6 ms)
✓ shouldShowMapBoundaries (1 ms)
✓ toTitleCase (17 ms)
✓ compute ratio (2 ms)
✓ compute ratio not aligned (1 ms)
PASS js/tools/timeline/util.test.ts
✓ test getTokensFromUrl (7 ms)
✓ test setTokensToUrl (13 ms)
✓ test addToken (2 ms)
✓ test removeToken (5 ms)
✓ get chart option (9 ms)
✓ set chart option (12 ms)
PASS js/tools/scatter/util.test.ts
✓ updateHash (6 ms)
✓ applyHash (7 ms)
console.error
Error loading facets for selection.
498 | this.setState({ facetList, facetListLoading: false });
499 | } catch {
> 500 | console.error("Error loading facets for selection.");
| ^
501 | this.setState({ facetListLoading: false, facetListError: true });
502 | }
503 | }
at console.error (node_modules/@testing-library/react/dist/act-compat.js:52:34)
at Chart.enrichFacets (js/tools/timeline/chart.tsx:500:15)
PASS js/shared/stats_var_labels.test.ts
✓ stats var label: marked for translation (213 ms)
✓ stats var label: compiled to en (66 ms)
✓ stats var label: compiled to es (77 ms)
console.error
Error loading facets for selection.
498 | this.setState({ facetList, facetListLoading: false });
499 | } catch {
> 500 | console.error("Error loading facets for selection.");
| ^
501 | this.setState({ facetListLoading: false, facetListError: true });
502 | }
503 | }
at Chart.enrichFacets (js/tools/timeline/chart.tsx:500:15)
console.error
Error loading facets for selection.
498 | this.setState({ facetList, facetListLoading: false });
499 | } catch {
> 500 | console.error("Error loading facets for selection.");
| ^
501 | this.setState({ facetListLoading: false, facetListError: true });
502 | }
503 | }
at Chart.enrichFacets (js/tools/timeline/chart.tsx:500:15)
console.error
Error loading facets for selection.
498 | this.setState({ facetList, facetListLoading: false });
499 | } catch {
> 500 | console.error("Error loading facets for selection.");
| ^
501 | this.setState({ facetListLoading: false, facetListError: true });
502 | }
503 | }
at Chart.enrichFacets (js/tools/timeline/chart.tsx:500:15)
console.error
Error loading facets for selection.
498 | this.setState({ facetList, facetListLoading: false });
499 | } catch {
> 500 | console.error("Error loading facets for selection.");
| ^
501 | this.setState({ facetListLoading: false, facetListError: true });
502 | }
503 | }
at Chart.enrichFacets (js/tools/timeline/chart.tsx:500:15)
PASS js/tools/timeline/page.test.tsx (15.809 s)
✓ Single place and single stat var (896 ms)
✓ statVar not in PV-tree (185 ms)
✓ chart options (477 ms)
PASS js/shared/stats_var_titles.test.ts
✓ stats var label: marked for translation (94 ms)
✓ stats var label: compiled to en (80 ms)
✓ stats var label: compiled to es (66 ms)
PASS js/utils/tests/tile_utils.test.ts
✓ formatString (4 ms)
✓ getStatVarName (4 ms)
PASS js/tools/download/page.test.tsx (12.477 s)
✓ Loading options from URL (623 ms)
✓ Manually updating options (725 ms)
PASS js/utils/tests/search_utils.test.tsx
✓ getHighlightedJSX (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)
PASS js/import_wizard/utils/detect_date.test.tsx
✓ dateDetectionBasics (3 ms)
✓ dateHeaderDetectionBasics (2 ms)
✓ dateColumnDetection (2 ms)
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/utils/tests/url_utils.test.ts
getUpdatedHash
✓ updates single param and removes others (11 ms)
✓ removes param if value is empty string (2 ms)
✓ adds new param (2 ms)
✓ persists only PARAMS_TO_PERSIST (2 ms)
✓ removes all except persisted and new (2 ms)
✓ works with empty hash (1 ms)
PASS js/shared/ga_events.test.tsx (40.893 s)
test ga event tool chart plot
✓ call gtag when a map tool chart is mounted or updated with different stat vars or places (160 ms)
✓ call gtag when a timeline tool chart is mounted or updated with different stat vars or places (153 ms)
✓ call gtag when a scatter tool chart is mounted or updated with different stat vars or places (140 ms)
test ga event tool stat var click
✓ call gtag when a stat var is selected in the stat var hierarchy (172 ms)
test ga event tool place add
✓ call gtag when a place is added in the place search bar (45 ms)
test ga event tool stat var search no result
✓ call gtag when no result is shown to search term in stat var hierarchy (312 ms)
test ga event tool chart plot option
✓ call gtag when timeline tool chart option is clicked (69 ms)
✓ call gtag when scatter tool chart option is clicked (86 ms)
✓ call gtag when map tool chart option is clicked (55 ms)
test ga event for the FacetSelector component
✓ triggers GA event when FacetSelector's update button is clicked (120 ms)
test ga event for Related Topics experiment
✓ triggers GA event when FollowUpQuestion URL is clicked (132 ms)
✓ triggers GA event when Header Related Topics URL is clicked (121 ms)
✓ triggers GA event when FollowUpQuestion component is viewed (29 ms)
✓ triggers GA event when Header RelatedTopics component is viewed (14 ms)
✓ triggers GA event when Follow Up Questions component renders questions (26 ms)
test ga event for Page Overview experiment
✓ triggers GA event when Page Overview component is rendered (12 ms)
✓ triggers GA event when Page Overview component is initially viewed (24 ms)
✓ triggers GA event when Page Overview is viewed twice (25 ms)
✓ triggers GA event before unload, recording the view time of Page Overview (36 ms)
✓ triggers GA event when Page Overview link is clicked (45 ms)
✓ triggers GA event when Page Overview link is clicked twice (23 ms)
✓ triggers GA event when Page Overview loads counting anchor elements (47 ms)
PASS js/utils/tests/string_utils.test.ts
✓ get common prefix (5 ms)
✓ formatDate (4 ms)
✓ is valid date (2 ms)
PASS js/tools/scatter/app.test.tsx (41.278 s)
✓ all functionalities (2295 ms)
PASS js/i18n/i18n.periodicity.test.ts
✓ humanizeIsoDuration with English defaults (25 ms)
PASS js/utils/tests/app/disaster_dashboard_utils.test.ts
✓ getFilteredParentPlaces (5 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 (167 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 (20 ms)
PASS js/stat_var_hierarchy/stat_var_section.test.tsx
✓ getPrefix (12 ms)
PASS js/import_wizard/utils/file_processing.test.ts
✓ processValueMapFile (20 ms)
PASS nodejs_server/tiles/utils.test.ts
✓ compress and decompress chart props (13 ms)
PASS js/utils/tests/stat_metadata_utils.test.ts
✓ getUnit (3 ms)
PASS js/chart/draw.test.ts
✓ svg test (21 ms)
✓ get dashes (2 ms)
PASS js/shared/util.test.ts
✓ isDateTooFar (4 ms)
✓ getCappedStatVarDate (4 ms)
PASS js/browser/types.test.ts
✓ getPageDisplayType (5 ms)
PASS js/utils/tests/subject_page_utils.test.ts
✓ get relLink (4 ms)
PASS nodejs_server/query.test.ts (27.268 s)
✓ getQueryResult (82 ms)
✓ getQueryResult with surface (12 ms)
PASS js/utils/tests/axios.test.ts
✓ stringfy url params (4 ms)
PASS js/components/tiles/bar_tile.test.tsx (9.934 s)
BarTile
✓ Bar tile with non-place entities should render (399 ms)
PASS js/utils/tests/place_utils.test.ts
✓ get place names (23 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: 46.77 s
Ran all test suites.
✅ Ran 3 scripts and skipped 0 in 58.2s.
PUSH
DONE
Loading