Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFlashAccount committed Dec 22, 2024
1 parent c7b2470 commit d745b3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/gui/src/dashboard/test/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
* @file Global setup for dashboard tests.
*/

import { vi } from 'vitest'
import * as matchers from '@testing-library/jest-dom/matchers'
import { cleanup } from '@testing-library/react'
import { MotionGlobalConfig } from 'framer-motion'
import ResizeObserver from 'resize-observer-polyfill'

Check failure on line 8 in app/gui/src/dashboard/test/setup.ts

View workflow job for this annotation

GitHub Actions / 🧹 GUI Lint Results

app/gui/src/dashboard/test/setup.ts#L8

[no-restricted-syntax] No default imports from modules. Add to `DEFAULT_IMPORT_ONLY_MODULES` in `eslint.config.js` if the module only has a default export.

Check failure on line 8 in app/gui/src/dashboard/test/setup.ts

View workflow job for this annotation

GitHub Actions / 🧹 GUI Lint Results

app/gui/src/dashboard/test/setup.ts#L8

[no-restricted-syntax] No default imports from modules. Add to `DEFAULT_IMPORT_ONLY_MODULES` in `eslint.config.js` if the module only has a default export.

Check failure on line 8 in app/gui/src/dashboard/test/setup.ts

View workflow job for this annotation

GitHub Actions / 🧹 GUI Lint Results

app/gui/src/dashboard/test/setup.ts#L8

[no-restricted-syntax] No default imports from modules. Add to `DEFAULT_IMPORT_ONLY_MODULES` in `eslint.config.js` if the module only has a default export.

Check failure on line 8 in app/gui/src/dashboard/test/setup.ts

View workflow job for this annotation

GitHub Actions / 🧹 GUI Lint Results

app/gui/src/dashboard/test/setup.ts#L8

[no-restricted-syntax] No default imports from modules. Add to `DEFAULT_IMPORT_ONLY_MODULES` in `eslint.config.js` if the module only has a default export.
import { afterEach, expect } from 'vitest'
import { afterEach, expect, vi } from 'vitest'

vi.stubGlobal('ResizeObserver', ResizeObserver)

Expand Down

0 comments on commit d745b3e

Please sign in to comment.