test(core): update cli tests
This commit is contained in:
parent
87c6cffb2f
commit
93e0c956e9
5 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
import consola from 'consola'
|
||||
import { vi, expect, test } from 'vitest'
|
||||
import { exportedForTest } from '../cli/commands/build.mjs'
|
||||
import { exportedForTest } from '../src/cli/commands/build'
|
||||
|
||||
const testFn = exportedForTest.build
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { expect, test, vi } from 'vitest'
|
||||
import { exportedForTest } from '../cli/commands/generate.mjs'
|
||||
import { exportedForTest } from '../src/cli/commands/generate'
|
||||
import consola from 'consola'
|
||||
|
||||
const testFn = exportedForTest.generate
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { expect, test, vi } from 'vitest'
|
||||
import { exportedForTest } from '../cli/commands/new.mjs'
|
||||
import { exportedForTest } from '../src/cli/commands/new'
|
||||
import { execSync } from 'node:child_process'
|
||||
import consola from 'consola'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { test, expect, vi } from 'vitest'
|
||||
import { exportedForTest } from '../cli/commands/prepare.mjs'
|
||||
import { exportedForTest } from '../src/cli/commands/prepare'
|
||||
import consola from 'consola'
|
||||
import { execSync } from 'node:child_process'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { describe, expect, test, vi } from 'vitest'
|
||||
import { exportedForTest } from '../cli/commands/serve.mjs'
|
||||
import { exportedForTest } from '../src/cli/commands/serve'
|
||||
import consola from 'consola'
|
||||
|
||||
// describe.skip('FUNCTION: serve()', () => {
|
||||
|
|
Loading…
Reference in a new issue