opral / inlang-message-sdk

0 stars 0 forks source link

multi-project-test project4 json is whitespace-sensitive, tests should not touch checked-in files. #47

Closed jldec closed 1 month ago

jldec commented 1 month ago

MESDK-47

Context

  1. The test will always touch the checked in file project4-dir/project.inlang/messages.json which messes with nx test cache. (i think)
  2. The same file is sensitive to being manually saved with whitespace changes (after prettier formatting), making it show up unexpectedly in PRs like here

Proposal

Fix the test not to require a checked in json file with "abnormal" whitespace.