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

Implement unit test for Prisma provider #39

Open
2 tasks
rsaz opened this issue Apr 2, 2024 · 0 comments
Open
2 tasks

Implement unit test for Prisma provider #39

rsaz opened this issue Apr 2, 2024 · 0 comments

Comments

@rsaz
Copy link
Member

rsaz commented Apr 2, 2024

Description

Add unit tests in all modules.

Current Modules:

  • application: app-container, app-factory
  • common: color-service, package-resolver, project-config
  • console: console
  • container-module
  • controller: base-controller
  • decorator: scope-binding
  • error: app-error, error-handler-middleware, report, status-code
  • middleware: middleware-resolver, middleware-service
  • provider: provider-manager, db-in-memory, dto-validator, env-validator, logger
  • render

Suggested Pattern

  • Inside of every module, add all unit tests in a folder called __tests__.
  • Unit test file names should have the suffix .spec

Image

Requirements

  • all features must have tests;
  • code coverage must pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant