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

Server Side Tests Are Failing #1488

Open
mertssmnoglu opened this issue Dec 29, 2024 · 1 comment
Open

Server Side Tests Are Failing #1488

mertssmnoglu opened this issue Dec 29, 2024 · 1 comment
Labels

Comments

@mertssmnoglu
Copy link
Contributor

Describe the bug
Server side tests are failing because of the backend class migration broke the partial import syntax.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Server/ with cd Server
  2. Install the dependencies with npm install
  3. Execute npm test script
  4. See that it throws a syntax error on the controllers folder. a-z sorted, so it's failing early with authController.js
SyntaxError: The requested module '../../controllers/CONTROLLER_FILE' does not provide an export named `METHOD_NAME`

Expected behavior
Instead of failing with syntax error, fail because of an acceptable reason.

@ajhollid
Copy link
Collaborator

Hey @mertssmnoglu !

Backend has seen a signficant refactor, so tests are also going to need a significant refactor as well. Time being the limiting factor here I haven't had a chance to get to the tests yet.

Once I have some free time I will get around to updating all the tests 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants