Skip to content

feat: add npm test scripts for manual test suites#8

Open
Alexi5000 wants to merge 1 commit into
DevvGwardo:masterfrom
Alexi5000:pr/add-test-scripts
Open

feat: add npm test scripts for manual test suites#8
Alexi5000 wants to merge 1 commit into
DevvGwardo:masterfrom
Alexi5000:pr/add-test-scripts

Conversation

@Alexi5000

Copy link
Copy Markdown

Summary

  • Adds npm test / npm run test:invite / npm run test:disconnection scripts to server/package.json
  • Wires existing manual test files (tests/manual/test-bot-invite.js, tests/manual/test-disconnection-fixes.js) into the npm lifecycle so contributors can discover and run them without knowing file paths

Motivation

The test files already exist but there was no way to run them via the standard npm test workflow. This makes the test suite discoverable and integrable with CI.

Test plan

  • cd server && npm test exits 0 when both test files pass
  • npm run test:invite runs only the bot-invite tests
  • npm run test:disconnection runs only the disconnection tests

Wire existing manual test files (test-bot-invite.js,
test-disconnection-fixes.js) into package.json scripts
so contributors can run them via `npm test` without
knowing the file paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant