Skip to content

Commit

Permalink
fix: eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensnoeijen committed Sep 9, 2022
1 parent 2eba441 commit d814ed1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export const disableConsoleWarn = () => {
return jest.spyOn(console, 'warn').mockImplementation(() => {});
};

export const returnTrue = (other: unknown) => true;
export const returnFalse = (other: unknown) => false;
export const returnTrue = () => true;
export const returnFalse = () => false;
1 change: 1 addition & 0 deletions src/game/ai/behaviortree/nodes/core/Always.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { State } from '../Node';

import { Always } from './Always';

describe('Always', () => {
Expand Down
1 change: 1 addition & 0 deletions src/game/ai/behaviortree/nodes/core/Parallel.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { State } from '../Node';

import { Parallel } from './Parallel';
import { Always } from './Always';

Expand Down
3 changes: 2 additions & 1 deletion src/game/ai/behaviortree/nodes/core/Selector.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Node, State } from '../Node';
import { State } from '../Node';

import { Selector } from './Selector';
import { Always } from './Always';

Expand Down
3 changes: 2 additions & 1 deletion src/game/ai/behaviortree/nodes/core/Sequence.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Always } from './Always';
import { State } from '../Node';

import { Always } from './Always';
import { Sequence } from './Sequence';

describe('Sequence', () => {
Expand Down

0 comments on commit d814ed1

Please sign in to comment.