Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(monorepo): remove modules dir #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sambacha
Copy link
Contributor

@sambacha sambacha commented Apr 8, 2022

No description provided.

@github-actions
Copy link

github-actions bot commented Apr 8, 2022

Coverage report

❌ An unexpected error occurred. For more details, check console

Error: The process '/usr/local/bin/yarn' failed with exit code 1
St.
Category Percentage Covered / Total
🔴 Statements
33.62% (+12.77% 🔼)
234/696
🔴 Branches
32.21% (+6.61% 🔼)
96/298
🔴 Functions
27.04% (+8.03% 🔼)
73/270
🔴 Lines
34.28% (+12.54% 🔼)
218/636

Test suite run failed

Failed tests: 0/91. Failed suites: 30/37.
  ● Test suite failed to run

    components/src/components/ThemeProvider/ThemeProvider.test.tsx:4:65 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    4 import { Providers, actHook, cleanup, renderHook, screen } from '@/test'
                                                                      ~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:6:52 - error TS6142: Module './ThemeProvider' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/ThemeProvider/ThemeProvider.tsx', but '--jsx' is not set.

    6 import { ThemeProvider, attribute, useTheme } from './ThemeProvider'
                                                         ~~~~~~~~~~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:12:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    12     render(<ThemeProvider>foo bar baz</ThemeProvider>)
                  ~~~~~~~~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:17:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    17     render(<ThemeProvider forcedMode="dark">foo bar baz</ThemeProvider>)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:64:19 - error TS7031: Binding element 'children' implicitly has an 'any' type.

    64       wrapper: ({ children }) => (
                         ~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:65:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    65         <Providers themeProps={{ defaultMode: 'dark', defaultAccent: 'green' }}>
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:77:19 - error TS7031: Binding element 'children' implicitly has an 'any' type.

    77       wrapper: ({ children }) => (
                         ~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:78:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    78         <Providers themeProps={{ defaultMode: 'dark', forcedMode: 'light' }}>
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:90:19 - error TS7031: Binding element 'children' implicitly has an 'any' type.

    90       wrapper: ({ children }) => (
                         ~~~~~~~~
    components/src/components/ThemeProvider/ThemeProvider.test.tsx:91:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    91         <Providers
               ~~~~~~~~~~
    92           themeProps={{ defaultAccent: 'blue', forcedAccent: 'indigo' }}
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    93         >
       ~~~~~~~~~


  ● Test suite failed to run

    components/src/css/utils.ts:1:27 - error TS2307: Cannot find module '@vanilla-extract/css' or its corresponding type declarations.

    1 import { StyleRule } from '@vanilla-extract/css'
                                ~~~~~~~~~~~~~~~~~~~~~~
    components/src/css/utils.ts:2:32 - error TS2307: Cannot find module '@vanilla-extract/private' or its corresponding type declarations.

    2 import { CSSVarFunction } from '@vanilla-extract/private'
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/hooks/useFieldIds.test.ts:1:37 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    1 import { cleanup, renderHook } from '@/test'
                                          ~~~~~~~~


  ● Test suite failed to run

    components/src/components/Input/Input.test.tsx:3:52 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen, userEvent } from '@/test'
                                                         ~~~~~~~~
    components/src/components/Input/Input.test.tsx:5:23 - error TS6142: Module './Input' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Input/Input.tsx', but '--jsx' is not set.

    5 import { Input } from './Input'
                            ~~~~~~~~~
    components/src/components/Input/Input.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Input label="Funding Goal" />)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Input/Input.test.tsx:16:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    16     render(<Input label="Display Name" />)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Input/Input.test.tsx:24:14 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    24       render(<Input label="Short Name" maxLength={7} />)
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Input/Input.test.tsx:34:14 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    34       render(<Input label="Funding Goal" type="number" />)
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Input/Input.test.tsx:42:14 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    42       render(<Input label="Funding Goal" max={20} type="number" />)
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Input/Input.test.tsx:52:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

     52         <Input
                ~~~~~~
     53           label="Funding Goal"
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ... 
     56           units="ETH"
        ~~~~~~~~~~~~~~~~~~~~~
     57         />,
        ~~~~~~~~~~


  ● Test suite failed to run

    components/src/css/responsiveStyle.ts:1:27 - error TS2307: Cannot find module '@vanilla-extract/css' or its corresponding type declarations.

    1 import { StyleRule } from '@vanilla-extract/css'
                                ~~~~~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/Stack/utils.ts:19:10 - error TS7006: Parameter 'value' implicitly has an 'any' type.

    19         (value) => directionToFlexDirectionLookup[value],
                ~~~~~
    components/src/components/Stack/utils.ts:19:20 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ readonly horizontal: "row"; readonly vertical: "column"; }'.

    19         (value) => directionToFlexDirectionLookup[value],
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Stack/utils.ts:40:12 - error TS7006: Parameter 'value' implicitly has an 'any' type.

    40           (value) => wrapToFlexWrapLookup[+value as Wrap],
                  ~~~~~


  ● Test suite failed to run

    components/src/components/FileInput/utils.ts:1:23 - error TS6142: Module './FileInput' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/FileInput/FileInput.tsx', but '--jsx' is not set.

    1 import { Props } from './FileInput'
                            ~~~~~~~~~~~~~
    components/src/components/FileInput/utils.ts:7:29 - error TS7006: Parameter 'x' implicitly has an 'any' type.

    7   return allowedTypes.some((x) => {
                                  ~


  ● Test suite failed to run

    components/src/index.ts:30:15 - error TS2306: File '/home/runner/work/disco3-react/disco3-react/components/src/components/icons/generated/index.ts' is not a module.

    30 export * from './components/icons/generated'
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/Textarea/Textarea.test.tsx:3:52 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen, userEvent } from '@/test'
                                                         ~~~~~~~~
    components/src/components/Textarea/Textarea.test.tsx:5:26 - error TS6142: Module './Textarea' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Textarea/Textarea.tsx', but '--jsx' is not set.

    5 import { Textarea } from './Textarea'
                               ~~~~~~~~~~~~
    components/src/components/Textarea/Textarea.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Textarea label="Why are you entering $WRITE Race?" />)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Textarea/Textarea.test.tsx:16:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    16     render(<Textarea label="Why are you entering $WRITE Race?" />)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Textarea/Textarea.test.tsx:26:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    26       <Textarea label="Why are you entering $WRITE Race?" maxLength={14} />,
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/AvatarGroup/AvatarGroup.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/AvatarGroup/AvatarGroup.test.tsx:5:29 - error TS6142: Module './AvatarGroup' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/AvatarGroup/AvatarGroup.tsx', but '--jsx' is not set.

    5 import { AvatarGroup } from './AvatarGroup'
                                  ~~~~~~~~~~~~~~~
    components/src/components/AvatarGroup/AvatarGroup.test.tsx:12:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

     12       <AvatarGroup
              ~~~~~~~~~~~~
     13         members={[
        ~~~~~~~~~~~~~~~~~~
    ... 
     26         ]}
        ~~~~~~~~~~
     27       />,
        ~~~~~~~~


  ● Test suite failed to run

    components/src/components/MediaPicker/MediaPicker.test.tsx:3:52 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen, userEvent } from '@/test'
                                                         ~~~~~~~~
    components/src/components/MediaPicker/MediaPicker.test.tsx:5:29 - error TS6142: Module './MediaPicker' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/MediaPicker/MediaPicker.tsx', but '--jsx' is not set.

    5 import { MediaPicker } from './MediaPicker'
                                  ~~~~~~~~~~~~~~~
    components/src/components/MediaPicker/MediaPicker.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<MediaPicker label="Choose or drag and drop an image" />)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/MediaPicker/MediaPicker.test.tsx:16:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    16     render(<MediaPicker label="Choose or drag and drop an image" />)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/Button/utils.ts:9:16 - error TS2741: Property 'position' is missing in type '{}' but required in type 'Pick<BoxProps, "position">'.

    9   if (!center) return {}
                     ~~~~~~~~~


  ● Test suite failed to run

    components/src/components/SkeletonGroup/SkeletonGroup.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/SkeletonGroup/SkeletonGroup.test.tsx:6:31 - error TS6142: Module './SkeletonGroup' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/SkeletonGroup/SkeletonGroup.tsx', but '--jsx' is not set.

    6 import { SkeletonGroup } from './SkeletonGroup'
                                    ~~~~~~~~~~~~~~~~~
    components/src/components/SkeletonGroup/SkeletonGroup.test.tsx:13:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    13       <SkeletonGroup>
             ~~~~~~~~~~~~~~~
    components/src/components/SkeletonGroup/SkeletonGroup.test.tsx:14:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    14         <Skeleton>foo bar baz</Skeleton>
               ~~~~~~~~~~
    components/src/components/SkeletonGroup/SkeletonGroup.test.tsx:15:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    15         <Skeleton>quick brown fox</Skeleton>
               ~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/FileInput/FileInput.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/FileInput/FileInput.test.tsx:5:27 - error TS6142: Module './FileInput' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/FileInput/FileInput.tsx', but '--jsx' is not set.

    5 import { FileInput } from './FileInput'
                                ~~~~~~~~~~~~~
    components/src/components/FileInput/FileInput.test.tsx:12:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    12       <FileInput>
             ~~~~~~~~~~~
    components/src/components/FileInput/FileInput.test.tsx:13:11 - error TS7006: Parameter 'context' implicitly has an 'any' type.

    13         {(context) =>
                 ~~~~~~~
    components/src/components/FileInput/FileInput.test.tsx:14:26 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    14           context.name ? <div>{context.name}</div> : <div>Upload file</div>
                                ~~~~~
    components/src/components/FileInput/FileInput.test.tsx:14:54 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    14           context.name ? <div>{context.name}</div> : <div>Upload file</div>
                                                            ~~~~~


  ● Test suite failed to run

    components/src/components/Avatar/Avatar.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Avatar/Avatar.test.tsx:5:24 - error TS6142: Module './Avatar' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Avatar/Avatar.tsx', but '--jsx' is not set.

    5 import { Avatar } from './Avatar'
                             ~~~~~~~~~~
    components/src/components/Avatar/Avatar.test.tsx:12:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    12       <Avatar
             ~~~~~~~
    13         label="Avatar"
       ~~~~~~~~~~~~~~~~~~~~~~
    14         src="https://images.mirror-media.xyz/publication-images/H-zIoEYWk4SpFkljJiwB9.png"
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    15       />,
       ~~~~~~~~


  ● Test suite failed to run

    components/src/hooks/useId.test.ts:1:37 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    1 import { cleanup, renderHook } from '@/test'
                                          ~~~~~~~~


  ● Test suite failed to run

    components/src/components/Stack/Stack.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Stack/Stack.test.tsx:6:23 - error TS6142: Module './Stack' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Stack/Stack.tsx', but '--jsx' is not set.

    6 import { Stack } from './Stack'
                            ~~~~~~~~~
    components/src/components/Stack/Stack.test.tsx:13:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    13       <Stack>
             ~~~~~~~
    components/src/components/Stack/Stack.test.tsx:14:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    14         <Box>foo bar baz</Box>
               ~~~~~


  ● Test suite failed to run

    components/src/components/FieldSet/FieldSet.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/FieldSet/FieldSet.test.tsx:5:26 - error TS6142: Module './FieldSet' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/FieldSet/FieldSet.tsx', but '--jsx' is not set.

    5 import { FieldSet } from './FieldSet'
                               ~~~~~~~~~~~~
    components/src/components/FieldSet/FieldSet.test.tsx:12:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    12       <FieldSet legend="Token">
             ~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/FieldSet/FieldSet.test.tsx:13:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    13         <div />
               ~~~~~~~


  ● Test suite failed to run

    components/src/components/VisuallyHidden/VisuallyHidden.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/VisuallyHidden/VisuallyHidden.test.tsx:5:32 - error TS6142: Module './VisuallyHidden' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/VisuallyHidden/VisuallyHidden.tsx', but '--jsx' is not set.

    5 import { VisuallyHidden } from './VisuallyHidden'
                                     ~~~~~~~~~~~~~~~~~~
    components/src/components/VisuallyHidden/VisuallyHidden.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<VisuallyHidden>foo bar baz</VisuallyHidden>)
                  ~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/Field/Field.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Field/Field.test.tsx:5:23 - error TS6142: Module './Field' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Field/Field.tsx', but '--jsx' is not set.

    5 import { Field } from './Field'
                            ~~~~~~~~~
    components/src/components/Field/Field.test.tsx:12:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    12       <Field label="Foo bar baz">
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    components/src/components/Field/Field.test.tsx:13:9 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    13         <div />
               ~~~~~~~


  ● Test suite failed to run

    components/src/components/Spinner/Spinner.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Spinner/Spinner.test.tsx:5:25 - error TS6142: Module './Spinner' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Spinner/Spinner.tsx', but '--jsx' is not set.

    5 import { Spinner } from './Spinner'
                              ~~~~~~~~~~~
    components/src/components/Spinner/Spinner.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Spinner accessibilityLabel="Loading…" />)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/Skeleton/Skeleton.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Skeleton/Skeleton.test.tsx:5:26 - error TS6142: Module './Skeleton' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Skeleton/Skeleton.tsx', but '--jsx' is not set.

    5 import { Skeleton } from './Skeleton'
                               ~~~~~~~~~~~~
    components/src/components/Skeleton/Skeleton.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Skeleton loading>foo bar baz</Skeleton>)
                  ~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/Button/Button.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Button/Button.test.tsx:5:24 - error TS6142: Module './Button' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Button/Button.tsx', but '--jsx' is not set.

    5 import { Button } from './Button'
                             ~~~~~~~~~~
    components/src/components/Button/Button.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Button>Connect Wallet</Button>)
                  ~~~~~~~~


  ● Test suite failed to run

    components/src/components/Heading/Heading.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Heading/Heading.test.tsx:5:25 - error TS6142: Module './Heading' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Heading/Heading.tsx', but '--jsx' is not set.

    5 import { Heading } from './Heading'
                              ~~~~~~~~~~~
    components/src/components/Heading/Heading.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Heading>foo bar baz</Heading>)
                  ~~~~~~~~~


  ● Test suite failed to run

    components/src/components/Text/Text.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Text/Text.test.tsx:5:22 - error TS6142: Module './Text' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Text/Text.tsx', but '--jsx' is not set.

    5 import { Text } from './Text'
                           ~~~~~~~~
    components/src/components/Text/Text.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Text>foo bar baz</Text>)
                  ~~~~~~


  ● Test suite failed to run

    components/src/components/Card/Card.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Card/Card.test.tsx:5:22 - error TS6142: Module './Card' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Card/Card.tsx', but '--jsx' is not set.

    5 import { Card } from './Card'
                           ~~~~~~~~
    components/src/components/Card/Card.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Card>foo bar baz</Card>)
                  ~~~~~~


  ● Test suite failed to run

    components/src/components/Box/Box.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Box/Box.test.tsx:5:21 - error TS6142: Module './Box' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Box/Box.tsx', but '--jsx' is not set.

    5 import { Box } from './Box'
                          ~~~~~~~
    components/src/components/Box/Box.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Box>foo bar baz</Box>)
                  ~~~~~


  ● Test suite failed to run

    components/src/components/Stat/Stat.test.tsx:3:33 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render } from '@/test'
                                      ~~~~~~~~
    components/src/components/Stat/Stat.test.tsx:5:22 - error TS6142: Module './Stat' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Stat/Stat.tsx', but '--jsx' is not set.

    5 import { Stat } from './Stat'
                           ~~~~~~~~
    components/src/components/Stat/Stat.test.tsx:12:7 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    12       <Stat label="Current time" meta="12:01am" value="October 3rd, 2021" />,
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    components/src/components/Tag/Tag.test.tsx:3:41 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render, screen } from '@/test'
                                              ~~~~~~~~
    components/src/components/Tag/Tag.test.tsx:5:21 - error TS6142: Module './Tag' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Tag/Tag.tsx', but '--jsx' is not set.

    5 import { Tag } from './Tag'
                          ~~~~~~~
    components/src/components/Tag/Tag.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Tag>10 ETH</Tag>)
                  ~~~~~


  ● Test suite failed to run

    components/src/components/Range/Range.test.tsx:3:33 - error TS2307: Cannot find module '@/test' or its corresponding type declarations.

    3 import { cleanup, render } from '@/test'
                                      ~~~~~~~~
    components/src/components/Range/Range.test.tsx:5:23 - error TS6142: Module './Range' was resolved to '/home/runner/work/disco3-react/disco3-react/components/src/components/Range/Range.tsx', but '--jsx' is not set.

    5 import { Range } from './Range'
                            ~~~~~~~~~
    components/src/components/Range/Range.test.tsx:11:12 - error TS17004: Cannot use JSX unless the '--jsx' flag is provided.

    11     render(<Range />)
                  ~~~~~~~~~

Report generated by 🧪jest coverage report action from 85b2941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant