refactor: improve structure of src

This commit is contained in:
Johannes Loher 2022-11-04 21:47:18 +01:00
parent b74919b75b
commit c5d4ec1abd
96 changed files with 146 additions and 157 deletions

View file

@ -5,7 +5,7 @@
import { describe, expect, it } from "vitest";
import evaluateCheck from "../../src/rolls/check-evaluation";
import { evaluateCheck } from "../../src/dice/check-evaluation";
describe("evaluateCheck with no dice", () => {
it("should throw an error.", () => {

View file

@ -4,9 +4,9 @@
import { describe, expect, it } from "vitest";
import { calculateSpellPrice } from "../../../src/item/spell/calculate-spell-price";
import { calculateSpellPrice } from "../../../../src/documents/item/spell/calculate-spell-price";
import type { CooldownDuration, DS4SpellDataSourceData } from "../../../src/item/spell/spell-data-source";
import type { CooldownDuration, DS4SpellDataSourceData } from "../../../../src/documents/item/spell/spell-data-source";
const defaultData: DS4SpellDataSourceData = {
description: "",