Skip to content

feat: Provide loader function for dynamically imported i18n messages #4265

feat: Provide loader function for dynamically imported i18n messages

feat: Provide loader function for dynamically imported i18n messages #4265

Triggered via pull request July 26, 2023 16:07
Status Failure
Total duration 42m 6s
Artifacts 2

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
2m 11s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
1m 53s
dry-run / Build documenter
dry-run  /  Build global-styles
26s
dry-run / Build global-styles
dry-run  /  Build collection-hooks
1m 5s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
17s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
57s
dry-run / Build component-toolkit
dry-run  /  Build theming-core
59s
dry-run / Build theming-core
dry-run  /  Build test-utils
1m 3s
dry-run / Build test-utils
dry-run  /  Build components
4m 58s
dry-run / Build components
dry-run  /  Build board components
3m 18s
dry-run / Build board components
dry-run  /  Components unit tests
8m 34s
dry-run / Components unit tests
dry-run  /  Components integration tests
16m 4s
dry-run / Components integration tests
dry-run  /  Components accessibility tests
33m 24s
dry-run / Components accessibility tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 21 warnings
all exports declarations resolve to a file: node_modules/jest-runtime/build/index.js#L1582
expect(received).not.toThrow() Error name: "Error" Error message: "Cannot resolve module './internal/i18n/messages/all.all.js' from paths ['/home/runner/work/components/components/lib/components'] from /home/runner/work/components/components/src/__tests__/public-exports.test.ts" 14 | continue; 15 | } > 16 | expect(() => require.resolve(exportPath, { paths: [path.join(__dirname, '../../lib/components')] })).not.toThrow(); | ^ 17 | } 18 | }); 19 | at Runtime._requireResolve (node_modules/jest-runtime/build/index.js:1582:15) at src/__tests__/public-exports.test.ts:16:26 at Object.<anonymous> (node_modules/expect/build/toThrowMatchers.js:83:11) at Object.throwingMatcher [as toThrow] (node_modules/expect/build/index.js:342:21) at Object.<anonymous> (src/__tests__/public-exports.test.ts:16:110) at Object.<anonymous> (src/__tests__/public-exports.test.ts:16:110)
dry-run / Components unit tests
Process completed with exit code 1.
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
RETRY 1: slider is accessible by keyboard in bottom position: src/app-layout/__integ__/app-layout-split-panel.test.ts#L122
expect(received).toBeGreaterThan(expected) Expected: > 69.164265129683 Received: 69.164265129683 at src/app-layout/__integ__/app-layout-split-panel.test.ts:122:51 at src/app-layout/__integ__/app-layout-split-panel.test.ts:86:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'loadCallback'. Either include it or remove the dependency array. If 'loadCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
dry-run / Demos tests
'React' is defined but never used
dry-run / Demos tests
'Alert' is defined but never used
dry-run / Demos tests
'Box' is defined but never used
dry-run / Demos tests
'ExternalLink' is defined but never used
dry-run / Demos tests
'setVisible' is assigned a value but never used
dry-run / Demos tests
'AppLayout' is defined but never used
dry-run / Demos tests
'AppLayout' is defined but never used
dry-run / Demos tests
'Link' is defined but never used
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'updateDirty'. Either include it or remove the dependency array. If 'updateDirty' changes too often, find the parent component that defines it and wrap that definition in useCallback

Artifacts

Produced during runtime
Name Size
components-package Expired
98.7 MB
dependencies Expired
324 KB