mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-14 20:15:28 +10:00
[PR #3] [MERGED] feat: add tests and other such features #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pieartsy/PluralFlux/pull/3
Author: @pieartsy
Created: 2/20/2026
Status: ✅ Merged
Merged: 2/20/2026
Merged by: @pieartsy
Base:
main← Head:add-tests📝 Commits (10+)
a3caa2dconverted import syntax to ES modules5a39610got test sort of working (jest set up is not crashing but also not mocking correctly)5e28cdfadjusted beforeeach/beforeall so more pass876f948more correct test setup5ab0d62converted import syntax to commonJSa44e274got test sort of working (jest set up is not crashing but also not mocking correctly)79d98c3adjusted beforeeach/beforeall so more pass0a4bfa5more correct test setup321fe7fmore correct dockerfile and compose.yaml35b454bRevert "converted import syntax to commonJS"📊 Changes
18 files changed (+1337 additions, -212 deletions)
View changed files
📝
.gitignore(+2 -1)➕
Dockerfile(+10 -0)📝
README.md(+13 -4)➕
babel.config.js(+8 -0)📝
compose.yaml(+24 -14)➕
jest.config.js(+10 -0)📝
package.json(+5 -2)📝
src/bot.js(+26 -4)📝
src/commands.js(+12 -7)📝
src/database.js(+8 -8)📝
src/enums.js(+7 -5)📝
src/helpers/importHelper.js(+10 -9)📝
src/helpers/memberHelper.js(+255 -103)📝
src/helpers/messageHelper.js(+12 -18)📝
src/helpers/webhookHelper.js(+28 -37)➕
tests/helpers/memberHelper.test.js(+510 -0)➕
tests/helpers/messageHelper.test.js(+128 -0)➕
tests/helpers/webhookHelper.test.js(+269 -0)📄 Description
More tests to come...
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.