diff --git a/package.json b/package.json index ff8be39..405396f 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,8 @@ "build:prod": "tsup ", "prepare": "tsc", "pretty": "prettier --write .", - "tdd": "npx vitest", - "test": "npx vitest --run", + "tdd": "npx --yes vitest", + "test": "npx --yes vitest --run", "analyze-imports": "npx depcruise src --include-only \"^src\" --output-type dot | dot -T svg > dependency-graph.svg" }, "keywords": [ diff --git a/test/core/id.test.ts b/test/core/id.test.ts index 9d130a0..db34ea7 100644 --- a/test/core/id.test.ts +++ b/test/core/id.test.ts @@ -1,4 +1,4 @@ -import { CommandType } from '../../src/core'; +import { CommandType } from '../../src/core/structures/enums'; import * as Id from '../../src/core/id' import { expect, test } from 'vitest' diff --git a/test/core/ioc.test.ts b/test/core/ioc.test.ts index 51f712b..5c84dfb 100644 --- a/test/core/ioc.test.ts +++ b/test/core/ioc.test.ts @@ -1,7 +1,8 @@ import { beforeEach, describe, expect, it, vi } from 'vitest'; import { CoreContainer } from '../../src/core/ioc/container'; import { EventEmitter } from 'events'; -import { Disposable, Emitter, Init, Logging, __Services } from '../../src/core'; +import { Disposable, Emitter, Init, Logging } from '../../src/core/interfaces'; +import { __Services } from '../../src/core/structures' import { CoreDependencies } from '../../src/types/ioc'; describe('ioc container', () => { diff --git a/test/handlers/dispatchers.test.ts b/test/handlers/dispatchers.test.ts index a8c7721..bcb701d 100644 --- a/test/handlers/dispatchers.test.ts +++ b/test/handlers/dispatchers.test.ts @@ -1,9 +1,9 @@ import { beforeEach, describe, expect, vi, it } from 'vitest'; import { eventDispatcher } from '../../src/handlers/dispatchers'; import { faker } from '@faker-js/faker'; -import { Module } from '../../src/core/types/modules'; +import { Module } from '../../src/types/core-modules'; import { Processed } from '../../src/handlers/types'; -import { CommandType } from '../../src/core'; +import { CommandType } from '../../src/core/structures/enums'; import { EventEmitter } from 'events'; function createRandomModule(): Processed {