Skip to content

Reconfigure Jest for new backend integration tests and clear outdated configs #1900

@dannyprikaz

Description

@dannyprikaz

Overview

We are updating our integration tests such that they should not reset the state of the test databases between tests. We need to reconfigure jest and our set-up modules to support this. Additionally, there are some old and unused configurations that should be removed.

Action Items

  • Remove configs related to the @shelf/jest-mongodb preset
  • Write a new method in setup-test.js that sets up a MongoMemoryServer but doesn't removeAllCollection afterEach

Resources/Instructions

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Final QA (product)

Relationships

None yet

Development

No branches or pull requests

Issue actions