Skip to content

Split tests for client/handlers/vaults.test.ts #839

@aryanjassal

Description

@aryanjassal

Specification

Due to a resource leak crashing the CI, all the tests needed to be grouped. Right now, all the VaultsSecrets and Vaults RPC handlers are being tested in the same file. As a single file cannot be run concurrently, running the entire file is taking up to 3 minutes. It is also making the tests difficult to view/modify/debug.

As such, the tests need to be split into individual files as before. This will help speed up the CI too, as the tests will finish quicker.

Additional context

Tasks

  1. Split each describe block from client/handlers/vault.test.ts into its own file
  2. Resolve the resource leak which was crashing the CI

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions