Commit Graph

62 Commits

Author SHA1 Message Date
Skillz4Killz
20ac45810a fix: timeout bug 2023-02-20 15:01:44 +00:00
Jonathan Ho
da1660fc1c test(all): add test importing index (#2774)
* test(all): add test importing index

* chore: remove old benchmark dir

* chore: disable coverage status fail

* test(client): add import test with try catch

* test(rest): fix narrow import scope
2023-02-09 09:45:01 -06:00
Skillz4Killz
2b127951ae fix: more rest e2e tests (#2763)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

* fix: dont send heartbeat if socket is not open

* fix: remove logs

* fox: remove more logs

* fix some bugs in role tests

* Switch to after hook style

* hoti's speed snaker

* auto convert objects for discord

* Fix code style issues with ESLint

* fix: remove dup imports

* fix: i hate linters

* speeder

* fix: tests delete guilds

* Fix code style issues with ESLint

* fix: easier to provide custom intents in bot

* fix: shutdown bot after test

* fix: add getGuild

* fix: multiple guild delete attempts

* fix: add emoji e2e tests

* fix: remaining old e2e rest tests

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-03 16:17:22 -06:00
Skillz4Killz
6ac77b5504 fix: delete guilds test (#2758)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

* fix: dont send heartbeat if socket is not open

* fix: remove logs

* fox: remove more logs

* fix some bugs in role tests

* Switch to after hook style

* hoti's speed snaker

* auto convert objects for discord

* Fix code style issues with ESLint

* fix: remove dup imports

* fix: i hate linters

* speeder

* fix: tests delete guilds

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-02 10:10:44 -06:00
Skillz4Killz
9d5b8df60d e2e test stuff (#2754)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

* fix: dont send heartbeat if socket is not open

* fix: remove logs

* fox: remove more logs

* fix some bugs in role tests

* Switch to after hook style

* hoti's speed snaker

* auto convert objects for discord

* Fix code style issues with ESLint

* fix: remove dup imports

* fix: i hate linters

* speeder

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-02-01 14:20:49 -06:00
Skillz4Killz
7658ebbeb4 fix: guild and role methods (#2751)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

* guild and role methods

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-01-30 20:00:09 -06:00
Skillz4Killz
38802b1c34 fix: rest sending attachments files (#2749)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

* fix: image file sending

* Fix code style issues with ESLint

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-01-29 15:58:36 -06:00
Skillz4Killz
f5f97e0e59 fix: e2e exit bug (#2748)
* fix: readme runtime list

* Fix code style issues with ESLint

* node 18

* fix: websocket import type

* fix: body for interaction requests

* fix: perma fix for type error in ci

* fix: followupmessage option type

* fix: e2e tests exit bug

* fix: color console logger

---------

Co-authored-by: Lint Action <lint-action@samuelmeuli.com>
2023-01-29 00:14:31 -06:00
Jonathan Ho
1bbee2f0d7 test(rest): fix "TypeError: [Function] is not a thenable" (#2736) 2023-01-24 09:38:39 -06:00
Jonathan Ho
1c0b22eba2 test(rest): fix missing import (#2734)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2023-01-21 11:56:23 -06:00
Jonathan Ho
eaf8782d34 test: fix rest and utils test (#2723)
* test(utils): fix  cant import collection

* test(rest): await expect

* fix(utils): deno compactability

* test(utils): typing

* fix(utils): add return type
2023-01-15 11:04:20 -06:00
H01001000
dad40241bf test(rest): fix missing beforeEach 2023-01-14 06:01:19 -08:00
H01001000
b6281cd98a test(rest): add processRateLimitedPaths test 2023-01-14 05:27:31 -08:00
H01001000
659551d34e test(rest): add checkRateLimits test 2023-01-14 05:17:15 -08:00
H01001000
0cb0dd4862 test(rest): add simplifyUrl test 2023-01-14 05:12:27 -08:00
Skillz
a096411b37 fix: rate limit queues and headers processing 2023-01-02 13:06:37 -06:00
Jonathan Ho
2b868edf1f test: fix error and buffer 2022-12-29 18:50:05 -08:00
Jonathan Ho
3065bf1b95 test(rest): fix unit test 2022-12-29 17:31:41 -08:00
Skillz
76bf1d95fa fix: handle 429 rate limit 2022-12-28 01:38:14 -06:00
Skillz
d9bd4ca318 fix: partial error handling 2022-12-27 14:53:08 -06:00
Skillz
3bc40cd977 fix: add base transformer 2022-12-27 12:38:30 -06:00
Skillz
bd78eec931 fix: token dotenv 2022-12-27 10:18:42 -06:00
Skillz
75b6f8f0cb fix: more base cleanup 2022-12-27 09:56:28 -06:00
Skillz
63f1b619eb Merge branch 'node-migration' of https://github.com/discordeno/discordeno into node-migration 2022-12-25 12:46:34 -06:00
H01001000
521b708760 test: add thread test 2022-12-26 00:33:23 +08:00
H01001000
1ed5ccb402 reactor(test): remove duplicated creat channel 2022-12-26 00:30:46 +08:00
H01001000
90fd9fbd80 fix: guild not defind 2022-12-26 00:13:47 +08:00
H01001000
ccb9af1544 test: use new guild for other test 2022-12-26 00:06:50 +08:00
H01001000
f90d8030bf refactor(test): use new guild 2022-12-25 23:52:45 +08:00
H01001000
61c6f3b810 test: remove empty test 2022-12-25 20:58:19 +08:00
H01001000
21a088373c test: add some queue bucket test 2022-12-25 20:57:50 +08:00
H01001000
fb93d00e48 fix: test run in only 2022-12-25 20:49:10 +08:00
H01001000
7ebec080af fix: automode rule helpers and test 2022-12-25 20:45:58 +08:00
H01001000
9826ce1fa5 fix: create guild rate limit 2022-12-25 18:19:26 +08:00
H01001000
7cc8ecf9ac refactor(test): remove extra rest call 2022-12-25 12:48:18 +08:00
H01001000
25b04141eb test: add guild e2e test 2022-12-25 12:47:42 +08:00
H01001000
b4e13f9b0e test: add emoji e2e test 2022-12-25 12:47:21 +08:00
H01001000
6f4e2078b8 fix: add allowedMentions, interactionResponse 2022-12-25 11:53:30 +08:00
H01001000
98c5e883c8 fix: test not done 2022-12-25 01:05:38 +08:00
H01001000
6a43c53df1 fix: sticker 2022-12-24 09:35:00 +08:00
H01001000
534f8b057b fix: add await 2022-12-24 09:14:27 +08:00
H01001000
506cadb219 refactor(test): move rest to utils 2022-12-24 09:06:11 +08:00
H01001000
f375fb0535 test: finish adding webhook test 2022-12-24 09:00:14 +08:00
H01001000
b2f2d19b84 fix: partial webhook 2022-12-24 02:40:45 +08:00
H01001000
e7e63da614 test: turn on rest debug 2022-12-22 01:37:08 +08:00
H01001000
bf0e9e3f55 test: try fix 2022-12-22 01:27:36 +08:00
H01001000
3d569e3d2a test: add debug hook 2022-12-22 00:25:28 +08:00
H01001000
63abb3e646 test: add why-is-node-still-running 2022-12-21 17:28:28 +08:00
H01001000
76adeb08ae fix: test 2022-12-21 16:55:11 +08:00
H01001000
f607407e97 test: skip some test 2022-12-21 16:45:47 +08:00