Skip to content

Feat: Add onLongSelect #413

Feat: Add onLongSelect

Feat: Add onLongSelect #413

Triggered via pull request September 18, 2024 09:09
Status Failure
Total duration 1m 18s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
ProgramList › renders the list with every items: packages/example/src/modules/program/view/ProgramNode.tsx#L26
[Reanimated] `useAnimatedStyle` was used without a dependency array or Babel plugin. Please explicitly pass a dependency array, or enable the Babel plugin. For more, see the docs: `https://docs.swmansion.com/react-native-reanimated/docs/guides/web-support#web-without-the-babel-plugin`. at useAnimatedStyle (../../node_modules/react-native-reanimated/lib/module/reanimated2/hook/useAnimatedStyle.ts:440:13) at src/modules/program/view/ProgramNode.tsx:26:43 at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5608:18) at updateForwardRef (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9169:20) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11400:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15850:12) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15784:5) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15756:7) at performSyncWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15461:20) at flushSyncCallbacks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2597:22) at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24) at act (../../node_modules/react/cjs/react.development.js:2521:11) at actImplementation (../../node_modules/@testing-library/react-native/src/act.ts:30:25) at renderWithAct (../../node_modules/@testing-library/react-native/src/render-act.ts:12:11) at renderInternal (../../node_modules/@testing-library/react-native/src/render.tsx:59:33) at renderInternal (../../node_modules/@testing-library/react-native/src/render.tsx:29:10) at renderWithProviders (src/modules/program/view/ProgramList.test.tsx:14:16) at Object.renderWithProviders (src/modules/program/view/ProgramList.test.tsx:27:20)
ProgramList › renders the list and focus elements accordingly with inputs: packages/example/src/modules/program/view/ProgramNode.tsx#L26
[Reanimated] `useAnimatedStyle` was used without a dependency array or Babel plugin. Please explicitly pass a dependency array, or enable the Babel plugin. For more, see the docs: `https://docs.swmansion.com/react-native-reanimated/docs/guides/web-support#web-without-the-babel-plugin`. at useAnimatedStyle (../../node_modules/react-native-reanimated/lib/module/reanimated2/hook/useAnimatedStyle.ts:440:13) at src/modules/program/view/ProgramNode.tsx:26:43 at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5608:18) at updateForwardRef (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9169:20) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11400:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15850:12) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15784:5) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15756:7) at performSyncWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15461:20) at flushSyncCallbacks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2597:22) at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24) at act (../../node_modules/react/cjs/react.development.js:2521:11) at actImplementation (../../node_modules/@testing-library/react-native/src/act.ts:30:25) at renderWithAct (../../node_modules/@testing-library/react-native/src/render-act.ts:12:11) at renderInternal (../../node_modules/@testing-library/react-native/src/render.tsx:59:33) at renderInternal (../../node_modules/@testing-library/react-native/src/render.tsx:29:10) at renderWithProviders (src/modules/program/view/ProgramList.test.tsx:14:16) at Object.renderWithProviders (src/modules/program/view/ProgramList.test.tsx:34:20)
ListWithVariableSize › node is still focusable after being removed: packages/example/src/modules/program/view/ProgramNode.tsx#L26
[Reanimated] `useAnimatedStyle` was used without a dependency array or Babel plugin. Please explicitly pass a dependency array, or enable the Babel plugin. For more, see the docs: `https://docs.swmansion.com/react-native-reanimated/docs/guides/web-support#web-without-the-babel-plugin`. at useAnimatedStyle (../../node_modules/react-native-reanimated/lib/module/reanimated2/hook/useAnimatedStyle.ts:440:13) at src/modules/program/view/ProgramNode.tsx:26:43 at renderWithHooks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5608:18) at updateForwardRef (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9169:20) at beginWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:11400:16) at performUnitOfWork (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15850:12) at workLoopSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15784:5) at renderRootSync (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15756:7) at performSyncWorkOnRoot (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15461:20) at flushSyncCallbacks (../../node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2597:22) at flushActQueue (../../node_modules/react/cjs/react.development.js:2667:24) at act (../../node_modules/react/cjs/react.development.js:2521:11) at actImplementation (../../node_modules/@testing-library/react-native/src/act.ts:30:25) at renderWithAct (../../node_modules/@testing-library/react-native/src/render-act.ts:12:11) at renderInternal (../../node_modules/@testing-library/react-native/src/render.tsx:59:33) at renderInternal (../../node_modules/@testing-library/react-native/src/render.tsx:29:10) at renderWithProviders (src/pages/ListWithVariableSize.test.tsx:16:16) at Object.renderWithProviders (src/pages/ListWithVariableSize.test.tsx:24:20)
build (20.x)
Process completed with exit code 1.
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/