Skip to content

Commit

Permalink
Fix scheme setup test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Aug 23, 2023
1 parent ccd3eb9 commit 0adee84
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/engine/core/utils/scheme/scheme_setup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { EEvaluatorId, TAbstractSchemeConstructor } from "@/engine/core/schemes/
import { SchemeCombat } from "@/engine/core/schemes/combat";
import { SchemeCombatIgnore } from "@/engine/core/schemes/combat_ignore";
import { SchemeHit } from "@/engine/core/schemes/hit";
import { SchemeMeet } from "@/engine/core/schemes/meet";
import { SchemeMobCombat } from "@/engine/core/schemes/mob_combat";
import { SchemePhysicalOnHit } from "@/engine/core/schemes/ph_on_hit";
import {
Expand Down Expand Up @@ -41,7 +40,6 @@ describe("'scheme setup' utils", () => {
expect(SchemeCombat.disable).toHaveBeenCalledTimes(1);
expect(SchemeCombatIgnore.disable).toHaveBeenCalledTimes(1);
expect(SchemeHit.disable).toHaveBeenCalledTimes(1);
expect(SchemeMeet.disable).toHaveBeenCalledTimes(0);
expect(SchemeMobCombat.disable).toHaveBeenCalledTimes(0);
expect(SchemePhysicalOnHit.disable).toHaveBeenCalledTimes(0);

Expand All @@ -52,7 +50,6 @@ describe("'scheme setup' utils", () => {
expect(SchemeCombat.disable).toHaveBeenCalledTimes(0);
expect(SchemeCombatIgnore.disable).toHaveBeenCalledTimes(1);
expect(SchemeHit.disable).toHaveBeenCalledTimes(0);
expect(SchemeMeet.disable).toHaveBeenCalledTimes(0);
expect(SchemeMobCombat.disable).toHaveBeenCalledTimes(1);
expect(SchemePhysicalOnHit.disable).toHaveBeenCalledTimes(0);

Expand All @@ -63,7 +60,6 @@ describe("'scheme setup' utils", () => {
expect(SchemeCombat.disable).toHaveBeenCalledTimes(0);
expect(SchemeCombatIgnore.disable).toHaveBeenCalledTimes(0);
expect(SchemeHit.disable).toHaveBeenCalledTimes(0);
expect(SchemeMeet.disable).toHaveBeenCalledTimes(0);
expect(SchemeMobCombat.disable).toHaveBeenCalledTimes(0);
expect(SchemePhysicalOnHit.disable).toHaveBeenCalledTimes(1);

Expand All @@ -74,7 +70,6 @@ describe("'scheme setup' utils", () => {
expect(SchemeCombat.disable).toHaveBeenCalledTimes(0);
expect(SchemeCombatIgnore.disable).toHaveBeenCalledTimes(0);
expect(SchemeHit.disable).toHaveBeenCalledTimes(1);
expect(SchemeMeet.disable).toHaveBeenCalledTimes(0);
expect(SchemeMobCombat.disable).toHaveBeenCalledTimes(0);
expect(SchemePhysicalOnHit.disable).toHaveBeenCalledTimes(0);
});
Expand Down

0 comments on commit 0adee84

Please sign in to comment.