Skip to content

Commit

Permalink
chore(freecompany): fix file issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ReidWeb committed Jan 2, 2022
1 parent ad3cb5c commit 8f23137
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
npm run lint
npm run format:check
npm run lint:fix
npm run format
npm run docs
git add docs/api/**/*
4 changes: 2 additions & 2 deletions docs/api/classes/client_LodestoneClient.default.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Client for interfacing with the Final Fantasy XIV Lodestone.

#### Defined in

[client/LodestoneClient.ts:56](https://github.com/XIVStats/lodestone/blob/cdc2f0b/src/client/LodestoneClient.ts#L56)
[client/LodestoneClient.ts:56](https://github.com/XIVStats/lodestone/blob/ad3cb5c/src/client/LodestoneClient.ts#L56)

## Properties

Expand All @@ -44,4 +44,4 @@ An instance will be generated by default, but as a consumer you can provide your

#### Defined in

[client/LodestoneClient.ts:50](https://github.com/XIVStats/lodestone/blob/cdc2f0b/src/client/LodestoneClient.ts#L50)
[client/LodestoneClient.ts:50](https://github.com/XIVStats/lodestone/blob/ad3cb5c/src/client/LodestoneClient.ts#L50)
6 changes: 3 additions & 3 deletions src/config/DomConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export default class DomConfig {
transformationFunction: (value: string) => value.split('(')[1].replace(')', '').trim(),
},
freeCompany: {
selector: 'div.character__freecompany__name > h4',
isGroupLink: true
},
selector: 'div.character__freecompany__name > h4',
isGroupLink: true,
},
pvpTeam: {
selector: 'div.character__pvpteam__name > h4',
isGroupLink: true,
Expand Down
40 changes: 20 additions & 20 deletions src/entity/__tests__/Character.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ describe('Character', () => {
grandCompany: 'Order of the Twin Adder',
grandCompanyRank: 'First Serpent Lieutenant',
freeCompany: {
id: '9234631035923259083',
name: 'Archadian Moogles'
},
id: '9234631035923259083',
name: 'Archadian Moogles',
},
activeClass: Class.Conjurer,
gear: {
arm: {
Expand Down Expand Up @@ -265,9 +265,9 @@ describe('Character', () => {
guardian: 'Nymeia, the Spinner',
gender: 'Female',
freeCompany: {
id: '9228860798900682722',
name:"Gandalf's Gangstas"
},
id: '9228860798900682722',
name: "Gandalf's Gangstas",
},
activeClass: Class.Arcanist,
grandCompany: undefined,
}
Expand All @@ -282,10 +282,10 @@ describe('Character', () => {
homeWorld: 'Cerberus',
title: 'Outlander',
dataCenter: 'Chaos',
freeCompany: {
id: '9234631035923259083',
name: 'Archadian Moogles'
},
freeCompany: {
id: '9234631035923259083',
name: 'Archadian Moogles',
},
gear: {
shield: {
category: GearCategory.Shield,
Expand All @@ -312,10 +312,10 @@ describe('Character', () => {
homeWorld: 'Cerberus',
title: 'Monster Hunter',
dataCenter: 'Chaos',
freeCompany: {
id: '9234631035923259083',
name: 'Archadian Moogles'
},
freeCompany: {
id: '9234631035923259083',
name: 'Archadian Moogles',
},
gender: 'Male',
grandCompany: 'Order of the Twin Adder',
grandCompanyRank: 'Serpent Captain',
Expand All @@ -341,9 +341,9 @@ describe('Character', () => {
title: 'The Liberator',
dataCenter: 'Chaos',
freeCompany: {
id: '9234631035923259083',
name: 'Archadian Moogles'
},
id: '9234631035923259083',
name: 'Archadian Moogles',
},
gender: 'Female',
grandCompany: 'Maelstrom',
grandCompanyRank: 'Second Storm Lieutenant',
Expand All @@ -369,9 +369,9 @@ describe('Character', () => {
title: 'Peacemaker',
dataCenter: 'Elemental',
freeCompany: {
id: '9236038410806755415x',
name: 'DawnGarden'
},
id: '9236038410806755415',
name: 'DawnGarden',
},
gender: 'Male',
grandCompany: 'Immortal Flames',
grandCompanyRank: 'Flame Captain',
Expand Down

0 comments on commit 8f23137

Please sign in to comment.