import { Encounter } from "../Encounter/Encounter";
import { SpellLibrary } from "../Library/SpellLibrary";
import { PlayerViewClient } from "../Player/PlayerViewClient";
import { DefaultRules, IRules } from "../Rules/Rules";
import { TextEnricher } from "../TextEnricher/TextEnricher";

export function buildStatBlockTextEnricher(rules: IRules) {
    return new TextEnricher(jest.fn(), jest.fn(), jest.fn(), new SpellLibrary(null), rules);
}

export function buildEncounter() {
    const rules = new DefaultRules();
    const enricher = buildStatBlockTextEnricher(rules);
    const encounter = new Encounter(null, jest.fn().mockReturnValue(null), jest.fn(), rules, enricher);
    return encounter;
}
import { Encounter } from "../Encounter/Encounter";
import { DefaultRules, IRules } from "../Rules/Rules";

export function buildEncounter() {
    const rules = new DefaultRules();
    const encounter = new Encounter(null, jest.fn().mockReturnValue(null), jest.fn(), rules);
    return encounter;
}
Remove enricher from test encounter
Remove enricher from test encounter
