test private methods

This commit is contained in:
Amish Shah
2016-08-19 00:17:09 +01:00
parent a52b46fab4
commit 24df1bc621
2 changed files with 7 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -159,6 +159,12 @@ class Guild {
return base;
}
/**
* Sets up the Guild
* @param {any} data
* @returns {null}
* @private
*/
setup(data) {
this.id = data.id;
this.available = !data.unavailable;