Skip to content

Commit

Permalink
lint: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Oct 23, 2024
1 parent 07ba2bf commit 27c073d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/browser/src/client/tester/tester.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { SpyModule, collectTests, setupCommonEnv, startCoverageInsideWorker, startTests, stopCoverageInsideWorker } from 'vitest/browser'
import { page, userEvent } from '@vitest/browser/context'
import { channel, client, onCancel } from '@vitest/browser/client'
import { page, userEvent } from '@vitest/browser/context'
import { collectTests, setupCommonEnv, SpyModule, startCoverageInsideWorker, startTests, stopCoverageInsideWorker } from 'vitest/browser'
import { executor, getBrowserState, getConfig, getWorkerState } from '../utils'
import { setupDialogsSpy } from './dialog'
import { setupExpectDom } from './expect-element'
import { setupConsoleLogSpy } from './logger'
import { VitestBrowserClientMocker } from './mocker'
import { createModuleMockerInterceptor } from './msw'
import { createSafeRpc } from './rpc'
import { browserHashMap, initiateRunner } from './runner'
import { createModuleMockerInterceptor } from './msw'

const cleanupSymbol = Symbol.for('vitest:component-cleanup')

Expand Down
4 changes: 2 additions & 2 deletions packages/browser/src/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import BrowserPlugin from './plugin'
import { setupBrowserRpc } from './rpc'
import { BrowserServer } from './server'

export { distRoot } from './constants'
export { createBrowserPool } from './pool'
export type { BrowserServer } from './server'

export { distRoot } from './constants'
export type { BrowserServer } from './server'

export async function createBrowserServer(
project: WorkspaceProject,
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/src/node/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { basename, dirname, extname, resolve } from 'pathe'
import sirv from 'sirv'
import { coverageConfigDefaults, type Plugin } from 'vitest/config'
import { getFilePoolName, resolveApiServerConfig, resolveFsAllow, distDir as vitestDist } from 'vitest/node'
import { distRoot } from './constants'
import BrowserContext from './plugins/pluginContext'
import { resolveOrchestrator } from './serverOrchestrator'
import { resolveTester } from './serverTester'
import { distRoot } from './constants'

export { defineBrowserCommand } from './commands/utils'
export type { BrowserCommand } from 'vitest/node'
Expand Down

0 comments on commit 27c073d

Please sign in to comment.