Remove getGuildCount test
This function has been renamed and stuff so I have to rethink how I'll implement tests for it.
This commit is contained in:
parent
9611046393
commit
4f0e948a84
1 changed files with 0 additions and 17 deletions
|
@ -1,17 +0,0 @@
|
|||
const getGuildInfo = require('../util/getGuildInfo');
|
||||
|
||||
|
||||
|
||||
test("Testing getGuildCount", () => {
|
||||
for(let i = 1; i < 200000; i = i+i*30 ){
|
||||
let client = {guilds: {cache: new Map()}}
|
||||
client.guilds.cache.each = client.guilds.cache.forEach;
|
||||
|
||||
for(let j = 0; j < i; j++){
|
||||
client.guilds.cache.set(`num: ${j}`, j);
|
||||
}
|
||||
|
||||
expect(getGuildInfo(client).guildCount).toBe(i);
|
||||
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue