Skip to content

[BUG] Problem with tests #545

@chemitaxis

Description

@chemitaxis

Description and expected behavior
When I run my tests, now I can't get the DefaultMetaData. The problem is that has been changed how to obtain the model when is running with process.env.NODE_ENV.

2280f83#diff-97e3bb8d674b3d26b0c6f26690850035641138b48cacaa40b7a24de0ddfd1a34R11

Screenshots

Screenshot 2023-07-04 at 13 10 58

Environment (please complete the following information):

  • ZenStack version: [1.0.0-beta.3]
  • Prisma version: [^4.16.1]
  • Database type: [Postgresql]

Additional context
If I use the NODE_ENV = production everything works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions