mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
build: tsup for better cjs / esm support
This commit is contained in:
@@ -177,7 +177,7 @@ test('spawn, connect, send a message, session info, and destroy', async () => {
|
||||
|
||||
await manager.connect();
|
||||
expect(mockConstructor).toHaveBeenCalledWith(
|
||||
expect.stringContaining('worker.cjs'),
|
||||
expect.stringContaining('worker.js'),
|
||||
expect.objectContaining({ workerData: expect.objectContaining({ shardIds: [0, 1] }) }),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user