Skip to content

pg-promise init options causes local test to fail #3745

Closed
@acinader

Description

@acinader

the pr #3613 introduces two unit tests that test postgres.

the parse-server test machinery only sets up a mongo test server, not a postgres test server, so if one is not running postgres, these test will fail when tests are run locally.

Running tests before creating a pr is a Good Thing™.

Would seem that there are two options here:

  1. figure out how to conditionally not run these tests if postgres is not being tested
  2. add postgres to test helper setup so the tests test....

Any thoughts? Would seem that option 2 is better even though it'd likely make tests take longer?

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