Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend Tests #26

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Backend Tests #26

wants to merge 4 commits into from

Conversation

YiSun88
Copy link
Contributor

@YiSun88 YiSun88 commented Sep 11, 2023

Overview

Implement tests for backend middlewares.

Issue Type

  • Bug
  • Feature
  • Tech Debt

Description
Added unit test for middlewares in scrapingController and databaseController.

Steps to Reproduce Bug / Validate Feature / Confirm Tech Debt Fix

  1. Run npm install to install/update all dependencies
  2. Add DB_URI_TEST (value in shared documentation) to .env to allow connecting to test database.
  3. Run npm run test for the tests.

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