This commit is contained in:
Jacob Nguyen
2024-04-29 00:17:58 -05:00
parent 87c5631e57
commit 6c61ae7d6a
4 changed files with 7 additions and 6 deletions

View File

@@ -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": [

View File

@@ -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'

View File

@@ -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', () => {

View File

@@ -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<Module> {