Plugin Integration Test
-
I figured out how to make this happen:
GitHub - boomzillawtf/nodebb-plugin-upvote-notifications: Users can customize how they are notified about upvotes to their posts.
Users can customize how they are notified about upvotes to their posts. - boomzillawtf/nodebb-plugin-upvote-notifications
GitHub (github.com)
What I had to do:
- Dev Dependencies:
- bcryptjs ~2.3.0
- nconf ~0.8.2
npm link
nodebb as a module for my plugin- Put
bcrypt.js
from the nodebb root directory into the root directory for my plugin (for user password hashing when creating users in the tests)
- Plugin set up to optionally accept nodebb modules from the test code instead of normal
module.parent.require
method.
- Dev Dependencies:
-
@boomzilla said in Plugin Integration Test:
automated integration tests
I have no idea what this even means, but I'm glad you got it working
Copyright © 2024 NodeBB | Contributors