Skip to content

Commit

Permalink
chore: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidoine committed Jan 21, 2021
1 parent 14cea4f commit 2f3a28f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Ovale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export class OvaleClass extends ovaleBase {
// this.UnregisterMessage("Ovale_OptionChanged");
// this.frame.Hide();
// }
handleInitialize() {
// eslint-disable-next-line @typescript-eslint/naming-convention
OnInitialize() {
this.playerGUID = UnitGUID("player") || "error";
const [, classId] = UnitClass("player");
this.playerClass = classId || "WARRIOR";
Expand Down

0 comments on commit 2f3a28f

Please sign in to comment.