MapColonies / MapColonies/config

Error handeling with jest does not concat full messege

Open
#51 0 comments 0 reactions 1 assignee View on GitHub

@razbroc is already working on this.

Since Feb 11, 2025.

bug
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

failing on tests does not concat full error message when handling validation errors on config.

![Image](https://github.com/user-attachments/assets/6644e88c-49bb-4f24-8054-f9f4898862e7)

expected message to be: "error validating config - property 'db' is missing/invalid"

![Image](https://github.com/user-attachments/assets/4034f4b7-e869-41c4-90aa-1943ddca202c)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.