Skip to content

feat(sdk): add Assert.throws #12018

feat(sdk): add Assert.throws

feat(sdk): add Assert.throws #12018

Triggered via pull request October 9, 2023 01:15
Status Success
Total duration 41m 12s
Artifacts 2

build.yml

on: pull_request
Matrix: e2e-test
aws-sdk-spec-test  /  setup
aws-sdk-spec-test / setup
Console Preview
0s
Console Preview
Matrix: aws-sdk-spec-test / test-tf-aws
Waiting for pending jobs
Quality Gate
3s
Quality Gate
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Test: apps/wing-console/console/design-system/src/tabs.tsx#L39
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
Test: apps/wing-console/console/ui/src/features/auto-updater.tsx#L31
React Hook useEffect has a missing dependency: 'checkForUpdates'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/features/console-logs-filters.tsx#L58
React Hook useEffect has a missing dependency: 'logLevelNames'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/features/console-logs-filters.tsx#L62
React Hook useEffect has a missing dependency: 'selectedLogTypeFilters'. Either include it or remove the dependency array. If 'setDefaultSelection' needs the current value of 'selectedLogTypeFilters', you can also switch to useReducer instead of useState and read 'selectedLogTypeFilters' in the reducer
Test: apps/wing-console/console/ui/src/layout/use-layout.tsx#L53
React Hook useCallback has a missing dependency: 'setSelectedItems'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/layout/use-layout.tsx#L58
React Hook useCallback has a missing dependency: 'onSelectedItemsChange'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/services/use-api.ts#L25
React Hook useEffect has a missing dependency: 'onFetchDataUpdate'. Either include it or remove the dependency array. If 'onFetchDataUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
Test: apps/wing-console/console/ui/src/services/use-api.ts#L32
React Hook useEffect has a missing dependency: 'onSchemaDataUpdate'. Either include it or remove the dependency array. If 'onSchemaDataUpdate' changes too often, find the parent component that defines it and wrap that definition in useCallback
Test: apps/wing-console/console/ui/src/services/use-explorer.tsx#L76
React Hook useEffect has a missing dependency: 'setSelectedNode'. Either include it or remove the dependency array
Test: apps/wing-console/console/ui/src/ui/api-interaction.tsx#L121
React Hook useCallback has a missing dependency: 'callFetch'. Either include it or remove the dependency array. If 'callFetch' changes too often, find the parent component that defines it and wrap that definition in useCallback

Artifacts

Produced during runtime
Name Size
benchmarks Expired
12.4 KB
dist Expired
27.5 MB