feat: Provide loader function for dynamically imported i18n messages #4281
dry-run.yml
on: pull_request
dry-run
/
Build browser-test-tools
2m 40s
dry-run
/
Build documenter
1m 50s
dry-run
/
Build global-styles
21s
dry-run
/
Build collection-hooks
47s
dry-run
/
Build jest-preset
16s
dry-run
/
Components unit tests
6m 57s
dry-run
/
Components integration tests
15m 24s
dry-run
/
Components accessibility tests
32m 39s
dry-run
/
Demos tests
12m 4s
Annotations
2 errors and 20 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
|
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.8 MB |
|
dependencies
Expired
|
324 KB |
|