mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
fix test
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user