Skip to content

Commit

Permalink
refactor: split core utils to core/
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Nov 20, 2023
1 parent e24d884 commit f144cb4
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 11 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/run.ts → src/core/run.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { resolve } from 'pathe'
import { distDir } from './dirs'
import { distDir } from '../dirs'

export interface RunTestOptions {
rootDir: string,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { $fetch as _$fetch, fetch as _fetch } from 'ofetch'
import * as _kit from '@nuxt/kit'
import { resolve } from 'pathe'
import { stringifyQuery } from 'ufo'
import { useTestContext } from './context'
import { $fetch } from './server'
import { useTestContext } from './core/context'
import { $fetch } from './core/server'

/**
* This is a function to render a component directly with the Nuxt server.
Expand Down
16 changes: 8 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export * from './browser'
export * from './context'
export * from './mock'
export * from './nuxt'
export * from './server'
export * from './setup'
export * from './run'
export * from './types'
export * from './core/browser'
export * from './core/context'
export * from './core/mock'
export * from './core/nuxt'
export * from './core/server'
export * from './core/setup'
export * from './core/run'
export * from './core/types'

0 comments on commit f144cb4

Please sign in to comment.