This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Running unit tests replaces existing $/.bedrock/config.yaml file #53
Labels
bug
Something isn't working
As a Bedrock developer I am using and developing
bedrock
. After runningyarn test
on source code I find that my$/.bedrock/config.yaml
file is replaced with this mock fileThe offending test appears to
config.test.ts
which callssaveConfiguration
to the default location ($/.bedrock/config.yaml
) not a temp directory. See hereThe expectations that "production" configuration doesn't get overwritten by tests. We should write to a temp directory.
The text was updated successfully, but these errors were encountered: