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:
SileNce5k 2025-06-24 02:47:01 +02:00
parent 9611046393
commit 4f0e948a84
Signed by: SileNce
GPG key ID: B0A142BB4291B204

View file

@ -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);
}
})