Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fuck unit testing snapshots

Blue Mouse06b1135b247d
diff --git a/.gitignore b/.gitignore
index 368f2e74b..0a898d54e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -134,3 +134,5 @@ package-lock.json
pnpm-lock.yaml
crowdin.yml
yarn.lock
+
+**/__snapshots__
diff --git a/snapd b/snapd
deleted file mode 160000
index 42b55d70b..000000000
--- a/snapd
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 42b55d70b1823b7bfec83375bd41e939084fcc74
diff --git a/src/components/__test__/Footer.test.tsx b/src/components/__test__/Footer.test.tsx
index 83da63054..5e33714f4 100644
--- a/src/components/__test__/Footer.test.tsx
+++ b/src/components/__test__/Footer.test.tsx
@@ -82,16 +82,4 @@ describe('Footer', () => {
expect(getByText('Hosted in')).toBeInTheDocument()
expect(getByText('European Union')).toHaveAttribute('href', 'https://en.wikipedia.org/wiki/European_Union')
})
-
- it('snapshot minimal footer', () => {
- const { container } = render(
- <Router history={history}>
- <I18nextProvider i18n={i18n}>
- <Footer {...minimalProps} />
- </I18nextProvider>
- </Router>,
- )
-
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/components/__test__/Header.test.tsx b/src/components/__test__/Header.test.tsx
index 3022f1a9a..a8d3989e4 100644
--- a/src/components/__test__/Header.test.tsx
+++ b/src/components/__test__/Header.test.tsx
@@ -95,18 +95,4 @@ describe('Header', () => {
expect(screen.getByText(/auth.common.signin/i)).toBeInTheDocument()
})
-
- test('snapshot', () => {
- const { container } = render(
- <Router history={history}>
- <Provider store={store}>
- <I18nextProvider i18n={i18n}>
- <Header authenticated={authenticated} theme={theme} user={user} />
- </I18nextProvider>
- </Provider>
- </Router>,
- )
-
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Alert.test.tsx b/src/ui/__test__/Alert.test.tsx
index 9c2f91fca..8c742f908 100644
--- a/src/ui/__test__/Alert.test.tsx
+++ b/src/ui/__test__/Alert.test.tsx
@@ -47,11 +47,4 @@ describe('AlertTemplate', () => {
fireEvent.click(getByRole('button'))
expect(closeMock).toHaveBeenCalled()
})
-
- it('snapshot', () => {
- const { container } = render(
- <AlertTemplate message='This is an error alert' options={{ type: 'error' }} close={closeMock} />,
- )
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Beta.test.tsx b/src/ui/__test__/Beta.test.tsx
index 5abe93236..b9f6b030f 100644
--- a/src/ui/__test__/Beta.test.tsx
+++ b/src/ui/__test__/Beta.test.tsx
@@ -28,13 +28,4 @@ describe('Beta component', () => {
)
expect(getByText('beta.title')).toHaveClass('custom-class-name')
})
-
- it('snapshot', () => {
- const { container } = render(
- <I18nextProvider i18n={i18n}>
- <Beta />
- </I18nextProvider>,
- )
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Button.test.tsx b/src/ui/__test__/Button.test.tsx
index abb4fe337..d42343a72 100644
--- a/src/ui/__test__/Button.test.tsx
+++ b/src/ui/__test__/Button.test.tsx
@@ -87,9 +87,4 @@ describe('Button component', () => {
const button = getByText('Click me')
expect(button).toHaveClass('border-none')
})
-
- it('snapshot', () => {
- const { container } = render(<Button text='Click me' />)
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Chart.test.tsx b/src/ui/__test__/Chart.test.tsx
index 8a74ad31a..e821ae3a2 100644
--- a/src/ui/__test__/Chart.test.tsx
+++ b/src/ui/__test__/Chart.test.tsx
@@ -20,9 +20,4 @@ describe('Chart component', () => {
const { getByTestId } = render(<Chart current='chart' options={options} />)
expect(getByTestId('chart')).toBeInTheDocument()
})
-
- it('snapshot', () => {
- const { container } = render(<Chart current='chart' options={options} />)
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Checkbox.test.tsx b/src/ui/__test__/Checkbox.test.tsx
index 289b40ebb..4297e61db 100644
--- a/src/ui/__test__/Checkbox.test.tsx
+++ b/src/ui/__test__/Checkbox.test.tsx
@@ -25,9 +25,4 @@ describe('Checkbox', () => {
fireEvent.click(getByRole('checkbox'))
expect(onChange).toHaveBeenCalled()
})
-
- it('snapshot', () => {
- const { container } = render(<Checkbox label='Checkbox' checked />)
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Code.test.tsx b/src/ui/__test__/Code.test.tsx
index f2e7b75a3..9d20b678b 100644
--- a/src/ui/__test__/Code.test.tsx
+++ b/src/ui/__test__/Code.test.tsx
@@ -25,11 +25,4 @@ describe('Code component', () => {
// eslint-disable-next-line testing-library/no-node-access
expect(container.firstChild).toHaveClass(testClassName)
})
-
- it('snapshot', () => {
- const { container } = render(
- <Code text={testText} language={testLanguage} />,
- )
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Dropdown.test.tsx b/src/ui/__test__/Dropdown.test.tsx
index b4e277983..e32bf9ac3 100644
--- a/src/ui/__test__/Dropdown.test.tsx
+++ b/src/ui/__test__/Dropdown.test.tsx
@@ -36,9 +36,4 @@ describe('Dropdown', () => {
fireEvent.click(item)
expect(onSelect).toHaveBeenCalledWith(items[0])
})
-
- it('snapshot', () => {
- const { container } = render(<Dropdown {...defaultProps} />)
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Flatpicker.test.tsx b/src/ui/__test__/Flatpicker.test.tsx
index 104c50976..5eca18ed2 100644
--- a/src/ui/__test__/Flatpicker.test.tsx
+++ b/src/ui/__test__/Flatpicker.test.tsx
@@ -9,9 +9,4 @@ describe('Flatpicker', () => {
const { getByTestId } = render(<Flatpicker />)
expect(getByTestId('calendar')).toBeInTheDocument()
})
-
- it('snapshot', () => {
- const { container } = render(<Flatpicker />)
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Input.test.tsx b/src/ui/__test__/Input.test.tsx
index 757ccb7d1..d19c22a74 100644
--- a/src/ui/__test__/Input.test.tsx
+++ b/src/ui/__test__/Input.test.tsx
@@ -34,9 +34,4 @@ describe('Input component', () => {
const input = getByRole('textbox') as HTMLInputElement
expect(input).toBeDisabled()
})
-
- it('snapshot', () => {
- const { container } = render(<Input label='Username' />)
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Loader.test.tsx b/src/ui/__test__/Loader.test.tsx
index 7ea70796b..5cae6b806 100644
--- a/src/ui/__test__/Loader.test.tsx
+++ b/src/ui/__test__/Loader.test.tsx
@@ -9,9 +9,4 @@ describe('Loader', () => {
const { getByText } = render(<Loader />)
expect(getByText('Loading...')).toBeInTheDocument()
})
-
- it('snapshot', () => {
- const { container } = render(<Loader />)
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Modal.test.tsx b/src/ui/__test__/Modal.test.tsx
index 44d6adb05..4daa588c4 100644
--- a/src/ui/__test__/Modal.test.tsx
+++ b/src/ui/__test__/Modal.test.tsx
@@ -87,11 +87,4 @@ describe('Modal component', () => {
)
expect(getByText('beta.title')).toBeInTheDocument()
})
-
- it('snapshot', () => {
- const { asFragment } = render(
- <HocWithI18n {...defaultProps} />,
- )
- expect(asFragment()).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Pagination.test.tsx b/src/ui/__test__/Pagination.test.tsx
index 60bf088a3..cdb0a02c7 100644
--- a/src/ui/__test__/Pagination.test.tsx
+++ b/src/ui/__test__/Pagination.test.tsx
@@ -106,11 +106,4 @@ describe('Pagination', () => {
expect(getByText('11')).toBeInTheDocument()
expect(getByText('project.prev')).toBeInTheDocument()
})
-
- it('snapshot', () => {
- const { container } = render(
- <HocWithI18n {...defaultProps} />,
- )
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Progress.test.tsx b/src/ui/__test__/Progress.test.tsx
index 6783651ef..37c48bc9d 100644
--- a/src/ui/__test__/Progress.test.tsx
+++ b/src/ui/__test__/Progress.test.tsx
@@ -6,8 +6,8 @@ import { render } from '@testing-library/react'
import Progress from '../Progress'
describe('Progress', () => {
- it('should render', () => {
- const { container } = render(<Progress now={50} />)
- expect(container).toMatchSnapshot()
+ it('renders the progress bar', () => {
+ const { getByTestId } = render(<Progress />)
+ expect(getByTestId('progress')).toBeInTheDocument()
})
})
diff --git a/src/ui/__test__/Select.test.tsx b/src/ui/__test__/Select.test.tsx
index a50704127..80409c605 100644
--- a/src/ui/__test__/Select.test.tsx
+++ b/src/ui/__test__/Select.test.tsx
@@ -52,9 +52,4 @@ describe('Select', () => {
expect(getByText(item)).toBeInTheDocument()
})
})
-
- it('snapshot', () => {
- const { container } = render(<Select {...defaultProps} />)
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/TimezonePicker.test.tsx b/src/ui/__test__/TimezonePicker.test.tsx
index b3184a914..b14e9fe3b 100644
--- a/src/ui/__test__/TimezonePicker.test.tsx
+++ b/src/ui/__test__/TimezonePicker.test.tsx
@@ -59,12 +59,4 @@ describe('TimezonePricker', () => {
expect(onChange).toHaveBeenCalledTimes(1)
expect(onChange).toHaveBeenCalledWith('America/Phoenix')
})
-
- it('snapshots', () => {
- const { container } = render(
- <HocWithI18n value='Europe/London' onChange={onChange} />,
- )
-
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/Tooltip.test.tsx b/src/ui/__test__/Tooltip.test.tsx
index c4e94fa0e..0cf8b3b2f 100644
--- a/src/ui/__test__/Tooltip.test.tsx
+++ b/src/ui/__test__/Tooltip.test.tsx
@@ -33,11 +33,4 @@ describe('Tooltip', () => {
const tooltipWrapper = getByTestId('tooltip-wrapper')
expect(tooltipWrapper).toHaveClass(className)
})
-
- it('snapshot', () => {
- const { container } = render(
- <Tooltip text='Tooltip' />,
- )
- expect(container).toMatchSnapshot()
- })
})
diff --git a/src/ui/__test__/__snapshots__/Alert.test.tsx.snap b/src/ui/__test__/__snapshots__/Alert.test.tsx.snap
deleted file mode 100644
index 38375f197..000000000
--- a/src/ui/__test__/__snapshots__/Alert.test.tsx.snap
+++ /dev/null
@@ -1,55 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`AlertTemplate snapshot 1`] = `
-<div>
- <div
- class="flex justify-between items-center mb-5 mr-2 rounded-md p-4 z-50 shadow-sm w-96 pointer-events-auto bg-red-50"
- >
- <div
- class="flex-shrink-0"
- >
- <svg
- aria-hidden="true"
- class="h-6 w-6 mr-2 text-red-400"
- fill="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- clip-rule="evenodd"
- d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z"
- fill-rule="evenodd"
- />
- </svg>
- </div>
- <span
- class="text-sm font-medium uppercase text-red-800"
- >
- This is an error alert
- </span>
- <button
- class="inline-flex cursor-pointer rounded-md p-1.5 focus:outline-none focus:ring-2 focus:ring-offset-2 bg-red-50 text-red-500 hover:bg-red-100 focus:ring-offset-red-50 focus:ring-red-600"
- type="button"
- >
- <span
- class="sr-only"
- >
- Dismiss
- </span>
- <svg
- aria-hidden="true"
- class="h-5 w-5"
- fill="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- clip-rule="evenodd"
- d="M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z"
- fill-rule="evenodd"
- />
- </svg>
- </button>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Beta.test.tsx.snap b/src/ui/__test__/__snapshots__/Beta.test.tsx.snap
deleted file mode 100644
index 3a3cf2f25..000000000
--- a/src/ui/__test__/__snapshots__/Beta.test.tsx.snap
+++ /dev/null
@@ -1,28 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Beta component snapshot 1`] = `
-<div>
- <div
- class="w-5 h-5 relative flex flex-col group items-center max-w-content !w-full"
- data-testid="tooltip-wrapper"
- >
- <p
- class="px-2 inline-flex text-sm leading-5 font-normal rounded-full bg-yellow-200 text-yellow-800 dark:bg-yellow-300 dark:text-yellow-900"
- >
- beta.title
- </p>
- <div
- class="absolute bottom-0 flex-col mb-6 hidden group-hover:flex items-center"
- >
- <span
- class="opacity-95 relative w-60 z-10 p-2 text-xs leading-none text-white whitespace-no-wrap bg-gray-700 shadow-lg rounded-md"
- >
- beta.description
- </span>
- <div
- class="w-3 h-3 -mt-2 rotate-45 bg-gray-700 opacity-95"
- />
- </div>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Button.test.tsx.snap b/src/ui/__test__/__snapshots__/Button.test.tsx.snap
deleted file mode 100644
index 4bd3d00d3..000000000
--- a/src/ui/__test__/__snapshots__/Button.test.tsx.snap
+++ /dev/null
@@ -1,12 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Button component snapshot 1`] = `
-<div>
- <button
- class="relative inline-flex select-none items-center border leading-4 font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
- type="button"
- >
- Click me
- </button>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Chart.test.tsx.snap b/src/ui/__test__/__snapshots__/Chart.test.tsx.snap
deleted file mode 100644
index 9f4d71dba..000000000
--- a/src/ui/__test__/__snapshots__/Chart.test.tsx.snap
+++ /dev/null
@@ -1,668 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Chart component snapshot 1`] = `
-<div>
- <div>
- <div
- class="bb"
- data-testid="chart"
- id="chart"
- style="position: relative;"
- >
- <svg
- height="320"
- style="overflow: hidden; display: block;"
- width="0"
- >
- <defs>
- <clippath
- id="bb-8891935502872631-clip"
- >
- <rect
- height="226"
- width="0"
- />
- </clippath>
- <clippath
- id="bb-8891935502872631-clip-xaxis"
- >
- <rect
- height="110"
- width="20"
- x="-9"
- y="-15"
- />
- </clippath>
- <clippath
- id="bb-8891935502872631-clip-yaxis"
- >
- <rect
- height="240"
- width="50"
- x="-29"
- y="-4"
- />
- </clippath>
- <clippath
- id="bb-8891935502872631-clip-grid"
- >
- <rect
- height="226"
- width="0"
- />
- </clippath>
- </defs>
- <g
- class="bb-main"
- transform="translate(30.5, 4.5)"
- >
- <g
- class="bb-grid"
- clip-path="url(http://localhost/#bb-8891935502872631-clip-grid)"
- >
- <g
- class="bb-xgrid-focus"
- >
- <line
- class="bb-xgrid-focus"
- x1="-10"
- x2="-10"
- y1="0"
- y2="226"
- />
- </g>
- </g>
- <g
- class="bb-chart"
- clip-path="url(http://localhost/#bb-8891935502872631-clip)"
- >
- <g
- class="bb-event-rects bb-event-rects-single"
- style="fill-opacity: 0;"
- >
- <rect
- class="bb-event-rect"
- height="226"
- width="0"
- x="0"
- y="0"
- />
- </g>
- <g
- class="bb-chart-lines"
- >
- <g
- class="bb-chart-line bb-target bb-target-data1"
- style="pointer-events: none;"
- >
- <g
- class="bb-shapes bb-shapes-data1 bb-lines bb-lines-data1"
- >
- <path
- class="bb-shape bb-shape bb-line bb-line-data1 "
- d="M0,197.635L0,115.904L0,163.981L0,19.75L0,139.942L0,91.865"
- style="stroke: #1f77b4;"
- />
- </g>
- <g
- class="bb-shapes bb-shapes-data1 bb-circles bb-circles-data1"
- >
- <circle
- class="bb-shape bb-shape-0 bb-circle bb-circle-0"
- cx="0"
- cy="197.6346153846154"
- r="2.5"
- style="fill: #1f77b4; stroke: #1f77b4;"
- />
- <circle
- class="bb-shape bb-shape-1 bb-circle bb-circle-1"
- cx="0"
- cy="115.90384615384615"
- r="2.5"
- style="fill: #1f77b4; stroke: #1f77b4;"
- />
- <circle
- class="bb-shape bb-shape-2 bb-circle bb-circle-2"
- cx="0"
- cy="163.98076923076923"
- r="2.5"
- style="fill: #1f77b4; stroke: #1f77b4;"
- />
- <circle
- class="bb-shape bb-shape-3 bb-circle bb-circle-3"
- cx="0"
- cy="19.75000000000001"
- r="2.5"
- style="fill: #1f77b4; stroke: #1f77b4;"
- />
- <circle
- class="bb-shape bb-shape-4 bb-circle bb-circle-4"
- cx="0"
- cy="139.9423076923077"
- r="2.5"
- style="fill: #1f77b4; stroke: #1f77b4;"
- />
- <circle
- class="bb-shape bb-shape-5 bb-circle bb-circle-5"
- cx="0"
- cy="91.86538461538461"
- r="2.5"
- style="fill: #1f77b4; stroke: #1f77b4;"
- />
- </g>
- </g>
- <g
- class="bb-chart-line bb-target bb-target-data2"
- style="pointer-events: none;"
- >
- <g
- class="bb-shapes bb-shapes-data2 bb-lines bb-lines-data2"
- >
- <path
- class="bb-shape bb-shape bb-line bb-line-data2 "
- d="M0,188.019L0,202.442L0,207.25L0,192.827L0,204.846L0,200.038"
- style="stroke: #ff7f0e;"
- />
- </g>
- <g
- class="bb-shapes bb-shapes-data2 bb-circles bb-circles-data2"
- >
- <circle
- class="bb-shape bb-shape-0 bb-circle bb-circle-0"
- cx="0"
- cy="188.01923076923075"
- r="2.5"
- style="fill: #ff7f0e; stroke: #ff7f0e;"
- />
- <circle
- class="bb-shape bb-shape-1 bb-circle bb-circle-1"
- cx="0"
- cy="202.4423076923077"
- r="2.5"
- style="fill: #ff7f0e; stroke: #ff7f0e;"
- />
- <circle
- class="bb-shape bb-shape-2 bb-circle bb-circle-2"
- cx="0"
- cy="207.25"
- r="2.5"
- style="fill: #ff7f0e; stroke: #ff7f0e;"
- />
- <circle
- class="bb-shape bb-shape-3 bb-circle bb-circle-3"
- cx="0"
- cy="192.82692307692307"
- r="2.5"
- style="fill: #ff7f0e; stroke: #ff7f0e;"
- />
- <circle
- class="bb-shape bb-shape-4 bb-circle bb-circle-4"
- cx="0"
- cy="204.84615384615384"
- r="2.5"
- style="fill: #ff7f0e; stroke: #ff7f0e;"
- />
- <circle
- class="bb-shape bb-shape-5 bb-circle bb-circle-5"
- cx="0"
- cy="200.03846153846152"
- r="2.5"
- style="fill: #ff7f0e; stroke: #ff7f0e;"
- />
- </g>
- </g>
- </g>
- </g>
- <g
- class="bb-axis bb-axis-x"
- clip-path="url(http://localhost/#bb-8891935502872631-clip-xaxis)"
- transform="translate(0, 226)"
- >
- <text
- class="bb-axis-x-label"
- dx="-0.5em"
- dy="-0.5em"
- style="text-anchor: end;"
- x="0"
- />
- <g
- class="tick"
- transform="translate(0,0)"
- >
- <line
- x1="0"
- x2="0"
- y2="0"
- />
- <text
- style="text-anchor: middle;"
- x="0"
- y="9"
- >
- <tspan
- dx="0"
- dy=".71em"
- x="0"
- >
- 0
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,0)"
- >
- <line
- x1="0"
- x2="0"
- y2="0"
- />
- <text
- style="text-anchor: middle;"
- x="0"
- y="9"
- >
- <tspan
- dx="0"
- dy=".71em"
- x="0"
- >
- 1
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,0)"
- >
- <line
- x1="0"
- x2="0"
- y2="0"
- />
- <text
- style="text-anchor: middle;"
- x="0"
- y="9"
- >
- <tspan
- dx="0"
- dy=".71em"
- x="0"
- >
- 2
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,0)"
- >
- <line
- x1="0"
- x2="0"
- y2="0"
- />
- <text
- style="text-anchor: middle;"
- x="0"
- y="9"
- >
- <tspan
- dx="0"
- dy=".71em"
- x="0"
- >
- 3
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,0)"
- >
- <line
- x1="0"
- x2="0"
- y2="0"
- />
- <text
- style="text-anchor: middle;"
- x="0"
- y="9"
- >
- <tspan
- dx="0"
- dy=".71em"
- x="0"
- >
- 4
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,0)"
- >
- <line
- x1="0"
- x2="0"
- y2="0"
- />
- <text
- style="text-anchor: middle;"
- x="0"
- y="9"
- >
- <tspan
- dx="0"
- dy=".71em"
- x="0"
- >
- 5
- </tspan>
- </text>
- </g>
- <path
- class="domain"
- d="M0,6V0H0V6"
- />
- </g>
- <g
- class="bb-axis bb-axis-y"
- clip-path="url(http://localhost/#bb-8891935502872631-clip-yaxis)"
- transform="translate(0, 0)"
- >
- <text
- class="bb-axis-y-label"
- dx="-0.5em"
- dy="1.2em"
- style="text-anchor: end;"
- transform="rotate(-90)"
- x="0"
- />
- <g
- class="tick"
- transform="translate(0,213)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 0
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,189)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 50
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,164)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 100
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,140)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 150
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,116)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 200
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,92)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 250
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,68)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 300
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,44)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 350
- </tspan>
- </text>
- </g>
- <g
- class="tick"
- transform="translate(0,20)"
- >
- <line
- x2="-6"
- y1="0"
- y2="0"
- />
- <text
- style="text-anchor: end;"
- x="-9"
- y="0"
- >
- <tspan
- dx="0"
- dy="3"
- x="-9"
- >
- 400
- </tspan>
- </text>
- </g>
- <path
- class="domain"
- d="M-6,1H0V226H-6"
- />
- </g>
- </g>
- <g
- class="bb-legend"
- transform="translate(0, 260)"
- >
- <g
- class="bb-legend-item bb-legend-item-data1"
- style="cursor: pointer;"
- >
- <text
- style="pointer-events: none;"
- x="1.5"
- y="13"
- >
- data1
- </text>
- <rect
- class="bb-legend-item-event"
- height="4"
- style="fill-opacity: 0;"
- width="25"
- x="-12.5"
- y="-1"
- />
- <line
- class="bb-legend-item-tile"
- stroke-width="10"
- style="stroke: #1f77b4; pointer-events: none;"
- x1="-14.5"
- x2="-4.5"
- y1="8"
- y2="8"
- />
- </g>
- <g
- class="bb-legend-item bb-legend-item-data2"
- style="cursor: pointer;"
- >
- <text
- style="pointer-events: none;"
- x="6.5"
- y="17"
- >
- data2
- </text>
- <rect
- class="bb-legend-item-event"
- height="4"
- style="fill-opacity: 0;"
- width="15"
- x="-7.5"
- y="3"
- />
- <line
- class="bb-legend-item-tile"
- stroke-width="10"
- style="stroke: #ff7f0e; pointer-events: none;"
- x1="-9.5"
- x2="0.5"
- y1="12"
- y2="12"
- />
- </g>
- </g>
- </svg>
- <div
- class="bb-tooltip-container"
- style="position: absolute; pointer-events: none; display: none;"
- />
- </div>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Checkbox.test.tsx.snap b/src/ui/__test__/__snapshots__/Checkbox.test.tsx.snap
deleted file mode 100644
index f87978338..000000000
--- a/src/ui/__test__/__snapshots__/Checkbox.test.tsx.snap
+++ /dev/null
@@ -1,32 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Checkbox snapshot 1`] = `
-<div>
- <div
- class="relative flex items-start whitespace-pre-line"
- >
- <div
- class="flex items-center h-5"
- >
- <input
- aria-describedby=""
- checked=""
- class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 dark:border-gray-800 dark:bg-gray-700 dark:checked:bg-indigo-600 rounded cursor-pointer"
- id=""
- name=""
- type="checkbox"
- />
- </div>
- <div
- class="ml-3 text-sm"
- >
- <label
- class="font-medium text-gray-700 dark:text-gray-200 cursor-pointer"
- for=""
- >
- Checkbox
- </label>
- </div>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Code.test.tsx.snap b/src/ui/__test__/__snapshots__/Code.test.tsx.snap
deleted file mode 100644
index dba39da0e..000000000
--- a/src/ui/__test__/__snapshots__/Code.test.tsx.snap
+++ /dev/null
@@ -1,15 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Code component snapshot 1`] = `
-<div>
- <pre
- class="w-full rounded-md bg-gray-800 dark:bg-gray-750"
- >
- <code
- class="whitespace-pre-wrap language-javascript"
- >
- const greeting = "Hello, world!";
- </code>
- </pre>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Dropdown.test.tsx.snap b/src/ui/__test__/__snapshots__/Dropdown.test.tsx.snap
deleted file mode 100644
index e96692475..000000000
--- a/src/ui/__test__/__snapshots__/Dropdown.test.tsx.snap
+++ /dev/null
@@ -1,36 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Dropdown snapshot 1`] = `
-<div>
- <div
- class="relative inline-block text-left"
- data-headlessui-state=""
- >
- <div>
- <button
- aria-expanded="false"
- aria-haspopup="menu"
- class="inline-flex w-full rounded-md border border-gray-300 shadow-sm px-3 md:px-4 py-2 bg-white text-sm font-medium text-gray-700 dark:text-gray-50 dark:border-gray-800 dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500 justify-center"
- data-headlessui-state=""
- id="headlessui-menu-button-:r7:"
- type="button"
- >
- Dropdown Title
- <svg
- aria-hidden="true"
- class="-mr-1 ml-2 h-5 w-5"
- fill="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- clip-rule="evenodd"
- d="M12.53 16.28a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 011.06-1.06L12 14.69l6.97-6.97a.75.75 0 111.06 1.06l-7.5 7.5z"
- fill-rule="evenodd"
- />
- </svg>
- </button>
- </div>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Flatpicker.test.tsx.snap b/src/ui/__test__/__snapshots__/Flatpicker.test.tsx.snap
deleted file mode 100644
index 46cbf5783..000000000
--- a/src/ui/__test__/__snapshots__/Flatpicker.test.tsx.snap
+++ /dev/null
@@ -1,470 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Flatpicker snapshot 1`] = `
-<div>
- <div
- class="h-0 flatpicker-custom"
- >
- <div
- class="flatpickr-wrapper"
- >
- <input
- class="invisible flatpickr-input"
- data-testid="calendar"
- id="calendar"
- type="hidden"
- value=""
- />
- <input
- class="hidden"
- placeholder=""
- readonly="readonly"
- tabindex="0"
- type="text"
- />
- <div
- class="flatpickr-calendar rangeMode animate static"
- tabindex="-1"
- >
- <div
- class="flatpickr-months"
- >
- <span
- class="flatpickr-prev-month"
- >
- <svg
- version="1.1"
- viewBox="0 0 17 17"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- >
- <g />
- <path
- d="M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z"
- />
- </svg>
- </span>
- <div
- class="flatpickr-month"
- >
- <div
- class="flatpickr-current-month"
- >
- <select
- aria-label="Month"
- class="flatpickr-monthDropdown-months"
- tabindex="-1"
- >
- <option
- class="flatpickr-monthDropdown-month"
- tabindex="-1"
- value="0"
- >
- January
- </option>
- <option
- class="flatpickr-monthDropdown-month"
- tabindex="-1"
- value="1"
- >
- February
- </option>
- <option
- class="flatpickr-monthDropdown-month"
- tabindex="-1"
- value="2"
- >
- March
- </option>
- <option
- class="flatpickr-monthDropdown-month"
- tabindex="-1"
- value="3"
- >
- April
- </option>
- </select>
- <div
- class="numInputWrapper"
- >
- <input
- aria-label="Year"
- class="numInput cur-year"
- max="2023"
- min="2021"
- tabindex="-1"
- type="number"
- />
- <span
- class="arrowUp"
- />
- <span
- class="arrowDown"
- />
- </div>
- </div>
- </div>
- <span
- class="flatpickr-next-month flatpickr-disabled"
- >
- <svg
- version="1.1"
- viewBox="0 0 17 17"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- >
- <g />
- <path
- d="M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z"
- />
- </svg>
- </span>
- </div>
- <div
- class="flatpickr-innerContainer"
- >
- <div
- class="flatpickr-rContainer"
- >
- <div
- class="flatpickr-weekdays"
- >
- <div
- class="flatpickr-weekdaycontainer"
- >
-
-
- <span
- class="flatpickr-weekday"
- >
-
- Sun
- </span>
- <span
- class="flatpickr-weekday"
- >
- Mon
- </span>
- <span
- class="flatpickr-weekday"
- >
- Tue
- </span>
- <span
- class="flatpickr-weekday"
- >
- Wed
- </span>
- <span
- class="flatpickr-weekday"
- >
- Thu
- </span>
- <span
- class="flatpickr-weekday"
- >
- Fri
- </span>
- <span
- class="flatpickr-weekday"
- >
- Sat
-
- </span>
-
-
- </div>
- </div>
- <div
- class="flatpickr-days"
- tabindex="-1"
- >
- <div
- class="dayContainer"
- >
- <span
- aria-label="March 26, 2023"
- class="flatpickr-day prevMonthDay"
- tabindex="-1"
- >
- 26
- </span>
- <span
- aria-label="March 27, 2023"
- class="flatpickr-day prevMonthDay"
- tabindex="-1"
- >
- 27
- </span>
- <span
- aria-label="March 28, 2023"
- class="flatpickr-day prevMonthDay"
- tabindex="-1"
- >
- 28
- </span>
- <span
- aria-label="March 29, 2023"
- class="flatpickr-day prevMonthDay"
- tabindex="-1"
- >
- 29
- </span>
- <span
- aria-label="March 30, 2023"
- class="flatpickr-day prevMonthDay"
- tabindex="-1"
- >
- 30
- </span>
- <span
- aria-label="March 31, 2023"
- class="flatpickr-day prevMonthDay"
- tabindex="-1"
- >
- 31
- </span>
- <span
- aria-label="April 1, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 1
- </span>
- <span
- aria-label="April 2, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 2
- </span>
- <span
- aria-label="April 3, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 3
- </span>
- <span
- aria-label="April 4, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 4
- </span>
- <span
- aria-label="April 5, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 5
- </span>
- <span
- aria-label="April 6, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 6
- </span>
- <span
- aria-label="April 7, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 7
- </span>
- <span
- aria-label="April 8, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 8
- </span>
- <span
- aria-label="April 9, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 9
- </span>
- <span
- aria-label="April 10, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 10
- </span>
- <span
- aria-label="April 11, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 11
- </span>
- <span
- aria-label="April 12, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 12
- </span>
- <span
- aria-label="April 13, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 13
- </span>
- <span
- aria-label="April 14, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 14
- </span>
- <span
- aria-label="April 15, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 15
- </span>
- <span
- aria-label="April 16, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 16
- </span>
- <span
- aria-label="April 17, 2023"
- class="flatpickr-day"
- tabindex="-1"
- >
- 17
- </span>
- <span
- aria-current="date"
- aria-label="April 18, 2023"
- class="flatpickr-day today"
- tabindex="-1"
- >
- 18
- </span>
- <span
- aria-label="April 19, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 19
- </span>
- <span
- aria-label="April 20, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 20
- </span>
- <span
- aria-label="April 21, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 21
- </span>
- <span
- aria-label="April 22, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 22
- </span>
- <span
- aria-label="April 23, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 23
- </span>
- <span
- aria-label="April 24, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 24
- </span>
- <span
- aria-label="April 25, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 25
- </span>
- <span
- aria-label="April 26, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 26
- </span>
- <span
- aria-label="April 27, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 27
- </span>
- <span
- aria-label="April 28, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 28
- </span>
- <span
- aria-label="April 29, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 29
- </span>
- <span
- aria-label="April 30, 2023"
- class="flatpickr-day flatpickr-disabled"
- >
- 30
- </span>
- <span
- aria-label="May 1, 2023"
- class="flatpickr-day nextMonthDay flatpickr-disabled"
- >
- 1
- </span>
- <span
- aria-label="May 2, 2023"
- class="flatpickr-day nextMonthDay flatpickr-disabled"
- >
- 2
- </span>
- <span
- aria-label="May 3, 2023"
- class="flatpickr-day nextMonthDay flatpickr-disabled"
- >
- 3
- </span>
- <span
- aria-label="May 4, 2023"
- class="flatpickr-day nextMonthDay flatpickr-disabled"
- >
- 4
- </span>
- <span
- aria-label="May 5, 2023"
- class="flatpickr-day nextMonthDay flatpickr-disabled"
- >
- 5
- </span>
- <span
- aria-label="May 6, 2023"
- class="flatpickr-day nextMonthDay flatpickr-disabled"
- >
- 6
- </span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Input.test.tsx.snap b/src/ui/__test__/__snapshots__/Input.test.tsx.snap
deleted file mode 100644
index f6875d643..000000000
--- a/src/ui/__test__/__snapshots__/Input.test.tsx.snap
+++ /dev/null
@@ -1,37 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Input component snapshot 1`] = `
-<div>
- <div
- class=""
- >
- <div
- class=""
- >
- <label
- class="flex text-sm font-medium text-gray-700 dark:text-gray-200"
- for=""
- >
- Username
- </label>
- </div>
- <div
- class="mt-1 relative"
- >
- <input
- aria-describedby="-optional"
- class="shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 dark:text-gray-50 dark:placeholder-gray-400 dark:border-gray-800 dark:bg-gray-700 rounded-md"
- id=""
- name=""
- placeholder=""
- type=""
- value=""
- />
- </div>
- <p
- class="mt-2 text-sm text-gray-500 dark:text-gray-300 whitespace-pre-line"
- id="-optional"
- />
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Loader.test.tsx.snap b/src/ui/__test__/__snapshots__/Loader.test.tsx.snap
deleted file mode 100644
index 62fa1d241..000000000
--- a/src/ui/__test__/__snapshots__/Loader.test.tsx.snap
+++ /dev/null
@@ -1,35 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Loader snapshot 1`] = `
-<div>
- <div
- class="flex justify-center pt-10"
- >
- <svg
- class="animate-spin -ml-1 mr-2 h-4 w-4 text-white h-20 w-20 text-indigo-700"
- fill="none"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <circle
- class="opacity-25"
- cx="12"
- cy="12"
- r="10"
- stroke="currentColor"
- stroke-width="4"
- />
- <path
- class="opacity-75"
- d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
- fill="currentColor"
- />
- </svg>
- <span
- class="sr-only"
- >
- Loading...
- </span>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Modal.test.tsx.snap b/src/ui/__test__/__snapshots__/Modal.test.tsx.snap
deleted file mode 100644
index 96839e5be..000000000
--- a/src/ui/__test__/__snapshots__/Modal.test.tsx.snap
+++ /dev/null
@@ -1,9 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Modal component snapshot 1`] = `
-<DocumentFragment>
- <div
- style="position: fixed; top: 1px; left: 1px; width: 1px; height: 0px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; border-width: 0px; display: none;"
- />
-</DocumentFragment>
-`;
diff --git a/src/ui/__test__/__snapshots__/Pagination.test.tsx.snap b/src/ui/__test__/__snapshots__/Pagination.test.tsx.snap
deleted file mode 100644
index 3aabbb518..000000000
--- a/src/ui/__test__/__snapshots__/Pagination.test.tsx.snap
+++ /dev/null
@@ -1,81 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Pagination snapshot 1`] = `
-<div>
- <nav
- class="border-t-0 border-gray-200 px-4 flex items-center justify-between sm:px-0"
- >
- <div
- class="-mt-px w-0 flex-1 flex group"
- />
- <div
- class="hidden md:-mt-px md:flex"
- >
- <button
- class="border-indigo-500 text-indigo-600 dark:text-indigo-400 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium"
- type="button"
- >
- 1
- </button>
- <button
- class="border-transparent text-gray-500 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-400 hover:border-gray-300 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium"
- type="button"
- >
- 2
- </button>
- <button
- class="border-transparent text-gray-500 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-400 hover:border-gray-300 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium"
- type="button"
- >
- 3
- </button>
- <button
- class="border-transparent text-gray-500 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-400 hover:border-gray-300 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium"
- type="button"
- >
- 4
- </button>
- <button
- class="border-transparent text-gray-500 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-400 hover:border-gray-300 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium"
- type="button"
- >
- 5
- </button>
- <span
- class="border-transparent text-gray-500 dark:text-gray-300 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium"
- >
- ...
- </span>
- <button
- class="border-transparent text-gray-500 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-400 hover:border-gray-300 border-t-2 pt-4 px-4 inline-flex items-center text-sm font-medium"
- type="button"
- >
- 10
- </button>
- </div>
- <div
- class="-mt-px w-0 flex-1 flex justify-end group"
- >
- <button
- class="pt-4 pl-1 inline-flex items-center text-sm font-medium dark:group-hover:text-gray-400 group-hover:text-gray-700 dark:text-gray-300 text-gray-500"
- type="button"
- >
- project.next
- <svg
- aria-hidden="true"
- class="ml-3 h-5 w-5 dark:group-hover:text-gray-400 group-hover:text-gray-700 dark:text-gray-300 text-gray-500 transition-none"
- fill="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- clip-rule="evenodd"
- d="M16.72 7.72a.75.75 0 011.06 0l3.75 3.75a.75.75 0 010 1.06l-3.75 3.75a.75.75 0 11-1.06-1.06l2.47-2.47H3a.75.75 0 010-1.5h16.19l-2.47-2.47a.75.75 0 010-1.06z"
- fill-rule="evenodd"
- />
- </svg>
- </button>
- </div>
- </nav>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Progress.test.tsx.snap b/src/ui/__test__/__snapshots__/Progress.test.tsx.snap
deleted file mode 100644
index 50206b7a0..000000000
--- a/src/ui/__test__/__snapshots__/Progress.test.tsx.snap
+++ /dev/null
@@ -1,18 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Progress should render 1`] = `
-<div>
- <div
- class="relative"
- >
- <div
- class="overflow-hidden h-2 text-xs flex rounded bg-blue-200 dark:bg-gray-500"
- >
- <div
- class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-blue-500 dark:bg-blue-700"
- style="width: 50%;"
- />
- </div>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Select.test.tsx.snap b/src/ui/__test__/__snapshots__/Select.test.tsx.snap
deleted file mode 100644
index 0699bd754..000000000
--- a/src/ui/__test__/__snapshots__/Select.test.tsx.snap
+++ /dev/null
@@ -1,49 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Select snapshot 1`] = `
-<div>
- <label
- class="block text-sm whitespace-pre-line font-medium text-gray-700 dark:text-gray-100"
- data-headlessui-state=""
- id="headlessui-listbox-label-:rc:"
- >
- Select
- </label>
- <div
- class="mt-1 relative"
- >
- <button
- aria-expanded="false"
- aria-haspopup="listbox"
- aria-labelledby="headlessui-listbox-label-:rc: headlessui-listbox-button-:rd:"
- class="relative w-full bg-white border border-gray-300 dark:text-gray-50 dark:border-gray-800 dark:bg-gray-700 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"
- data-headlessui-state=""
- id="headlessui-listbox-button-:rd:"
- type="button"
- >
- <span
- class="block truncate first-letter:capitalize"
- >
- Select Title
- </span>
- <span
- class="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"
- >
- <svg
- aria-hidden="true"
- class="h-5 w-5 text-gray-400"
- fill="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- clip-rule="evenodd"
- d="M11.47 4.72a.75.75 0 011.06 0l3.75 3.75a.75.75 0 01-1.06 1.06L12 6.31 8.78 9.53a.75.75 0 01-1.06-1.06l3.75-3.75zm-3.75 9.75a.75.75 0 011.06 0L12 17.69l3.22-3.22a.75.75 0 111.06 1.06l-3.75 3.75a.75.75 0 01-1.06 0l-3.75-3.75a.75.75 0 010-1.06z"
- fill-rule="evenodd"
- />
- </svg>
- </span>
- </button>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/TimezonePicker.test.tsx.snap b/src/ui/__test__/__snapshots__/TimezonePicker.test.tsx.snap
deleted file mode 100644
index 777e929e2..000000000
--- a/src/ui/__test__/__snapshots__/TimezonePicker.test.tsx.snap
+++ /dev/null
@@ -1,49 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`TimezonePricker snapshots 1`] = `
-<div>
- <label
- class="block text-sm whitespace-pre-line font-medium text-gray-700 dark:text-gray-100"
- data-headlessui-state=""
- id="headlessui-listbox-label-:r2k:"
- >
- profileSettings.timezoneDesc
- </label>
- <div
- class="mt-1 relative"
- >
- <button
- aria-expanded="false"
- aria-haspopup="listbox"
- aria-labelledby="headlessui-listbox-label-:r2k: headlessui-listbox-button-:r2l:"
- class="relative w-full bg-white border border-gray-300 dark:text-gray-50 dark:border-gray-800 dark:bg-gray-700 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"
- data-headlessui-state=""
- id="headlessui-listbox-button-:r2l:"
- type="button"
- >
- <span
- class="block truncate first-letter:capitalize"
- >
- (GMT+1:00) Edinburgh, London
- </span>
- <span
- class="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"
- >
- <svg
- aria-hidden="true"
- class="h-5 w-5 text-gray-400"
- fill="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- clip-rule="evenodd"
- d="M11.47 4.72a.75.75 0 011.06 0l3.75 3.75a.75.75 0 01-1.06 1.06L12 6.31 8.78 9.53a.75.75 0 01-1.06-1.06l3.75-3.75zm-3.75 9.75a.75.75 0 011.06 0L12 17.69l3.22-3.22a.75.75 0 111.06 1.06l-3.75 3.75a.75.75 0 01-1.06 0l-3.75-3.75a.75.75 0 010-1.06z"
- fill-rule="evenodd"
- />
- </svg>
- </span>
- </button>
- </div>
-</div>
-`;
diff --git a/src/ui/__test__/__snapshots__/Tooltip.test.tsx.snap b/src/ui/__test__/__snapshots__/Tooltip.test.tsx.snap
deleted file mode 100644
index b478c9d2a..000000000
--- a/src/ui/__test__/__snapshots__/Tooltip.test.tsx.snap
+++ /dev/null
@@ -1,37 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Tooltip snapshot 1`] = `
-<div>
- <div
- class="w-5 h-5 relative flex flex-col group items-center"
- data-testid="tooltip-wrapper"
- >
- <svg
- aria-hidden="true"
- class="w-5 h-5 text-gray-700 dark:text-gray-300"
- data-testid="tooltip-icon"
- fill="currentColor"
- viewBox="0 0 24 24"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- clip-rule="evenodd"
- d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 01-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 01-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 01-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584zM12 18a.75.75 0 100-1.5.75.75 0 000 1.5z"
- fill-rule="evenodd"
- />
- </svg>
- <div
- class="absolute bottom-0 flex-col mb-6 hidden group-hover:flex items-center"
- >
- <span
- class="opacity-95 relative w-60 z-10 p-2 text-xs leading-none text-white whitespace-no-wrap bg-gray-700 shadow-lg rounded-md"
- >
- Tooltip
- </span>
- <div
- class="w-3 h-3 -mt-2 rotate-45 bg-gray-700 opacity-95"
- />
- </div>
- </div>
-</div>
-`;