create a centralize config.js file #135
Annotations
10 errors and 2 warnings
src/molecules/coming-soon-page/index.test.tsx:
src/context/configContext.tsx#L34
TypeError: Cannot read properties of null (reading 'useContext')
❯ Proxy.useContext node_modules/react/cjs/react.development.js:1618:21
❯ Module.useConfigContext src/context/configContext.tsx:34:39
❯ Module.useConfig src/hook/useConfig.ts:4:22
❯ src/molecules/coming-soon-page/index.test.tsx:7:18
|
src/molecules/downtime-page/index.test.tsx:
src/context/configContext.tsx#L34
TypeError: Cannot read properties of null (reading 'useContext')
❯ Proxy.useContext node_modules/react/cjs/react.development.js:1618:21
❯ Module.useConfigContext src/context/configContext.tsx:34:39
❯ Module.useConfig src/hook/useConfig.ts:4:22
❯ src/molecules/downtime-page/index.test.tsx:7:18
|
src/molecules/faq-page/index.test.tsx:
src/context/configContext.tsx#L34
TypeError: Cannot read properties of null (reading 'useContext')
❯ Proxy.useContext node_modules/react/cjs/react.development.js:1618:21
❯ Module.useConfigContext src/context/configContext.tsx:34:39
❯ Module.useConfig src/hook/useConfig.ts:4:22
❯ src/molecules/faq-page/index.test.tsx:7:18
|
src/molecules/feedback/index.test.tsx > Feedbackpage component > render without crashing:
src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider
❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13
❯ FeedbackPage src/molecules/feedback/index.tsx:17:17
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
src/molecules/feedback/index.test.tsx > Feedbackpage component > renders stars fields:
src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider
❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13
❯ FeedbackPage src/molecules/feedback/index.tsx:17:17
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
src/molecules/feedback/index.test.tsx > Feedbackpage component > allows rating value change:
src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider
❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13
❯ FeedbackPage src/molecules/feedback/index.tsx:17:17
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
src/molecules/feedback/index.test.tsx > Feedbackpage component > handle review button click:
src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider
❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13
❯ FeedbackPage src/molecules/feedback/index.tsx:17:17
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
src/molecules/feedback/index.test.tsx > Feedbackpage component > renders correct input fields:
src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider
❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13
❯ FeedbackPage src/molecules/feedback/index.tsx:17:17
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
src/molecules/feedback/index.test.tsx > Feedbackpage component > allows entring review:
src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider
❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13
❯ FeedbackPage src/molecules/feedback/index.tsx:17:17
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
src/molecules/feedback/index.test.tsx > Feedbackpage component > handle review button click:
src/molecules/theme-provider/hooks.ts#L15
Error: useCustomTheme must be used within a CustomThemeProvider
❯ Module.useColorPalates src/molecules/theme-provider/hooks.ts:15:13
❯ FeedbackPage src/molecules/feedback/index.tsx:17:17
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
build (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|