fixed tests tsyringe resolve
This commit is contained in:
parent
abbd60d7e2
commit
1eceb797e2
@ -1,15 +1,14 @@
|
|||||||
import "reflect-metadata";
|
import "reflect-metadata";
|
||||||
|
|
||||||
import { container } from "tsyringe";
|
|
||||||
import { ItemHelper } from "@spt-aki/helpers/ItemHelper";
|
import { ItemHelper } from "@spt-aki/helpers/ItemHelper";
|
||||||
|
|
||||||
describe("ItemHelper", () =>
|
describe("ItemHelper", () =>
|
||||||
{
|
{
|
||||||
let itemHelper: ItemHelper;
|
let itemHelper: ItemHelper;
|
||||||
|
|
||||||
beforeEach(() =>
|
beforeAll(() =>
|
||||||
{
|
{
|
||||||
itemHelper = container.resolve<ItemHelper>("ItemHelper");
|
itemHelper = globalThis.container.resolve<ItemHelper>("ItemHelper");
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() =>
|
afterEach(() =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user