Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neki-dev committed Dec 4, 2023
1 parent 3ca5edd commit c94b949
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion src/const/analytics.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/game/scenes/world/__mocks__/world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ const world = {
complete: jest.fn(),
state: jest.fn(() => TutorialStepState.COMPLETED),
},
analytics: {
trackEvent: jest.fn(),
},
screen: {
notice: jest.fn(),
},
Expand Down
2 changes: 0 additions & 2 deletions src/game/scenes/world/__tests__/wave.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'jest-canvas-mock';

import { DIFFICULTY } from '~const/world/difficulty';
import { Tutorial } from '~lib/tutorial';
import { Analytics } from '~lib/analytics';
import { progressionLinear } from '~lib/progression';
import { IWorld } from '~type/world';
import { IWave, WaveEvents } from '~type/world/wave';
Expand All @@ -17,7 +16,6 @@ describe('world / wave', () => {

beforeAll(() => {
Tutorial.Disable();
Analytics.TrackEvent = jest.fn();
});

beforeEach(() => {
Expand Down
6 changes: 0 additions & 6 deletions src/types/analytics.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/types/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export enum GameDifficulty {

export enum GamePlatform {
DEVELOPMENT = 'development',
VANILLA = 'vanilla',
PRODUCTION = 'production',
}

export type GameSavePayload = {
Expand Down

0 comments on commit c94b949

Please sign in to comment.