mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Import scanner the same way it’s imported in usage
This commit is contained in:
parent
41283f9e6b
commit
48d229dde1
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,6 @@ import {
|
||||||
import { createApp } from 'vue'
|
import { createApp } from 'vue'
|
||||||
|
|
||||||
|
|
||||||
import AppFilesScanner from '~/helpers/app-files-scanner.js'
|
|
||||||
|
|
||||||
// import {
|
// import {
|
||||||
// isString
|
// isString
|
||||||
// } from '~/helpers/check-types.js'
|
// } from '~/helpers/check-types.js'
|
||||||
|
|
@ -31,6 +29,8 @@ function buildVueInstance () {
|
||||||
}
|
}
|
||||||
|
|
||||||
test('Can initialize AppFilesScanner within Vite context', async () => {
|
test('Can initialize AppFilesScanner within Vite context', async () => {
|
||||||
|
const { default: AppFilesScanner } = await import('~/helpers/app-files-scanner.js')
|
||||||
|
|
||||||
const vueInstance:any = buildVueInstance()
|
const vueInstance:any = buildVueInstance()
|
||||||
|
|
||||||
const scanner = new AppFilesScanner({
|
const scanner = new AppFilesScanner({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue