You can control which directories the app should use for various file operations by customizing the following keys in your Momentic project configuration:

  • moduleCreationDir: The default directory Momentic will write to when creating a new module.
  • goldenFileDir: The default directory for storing golden files used in visual diff testing.
  • reporterDir: The default directory for storing test reports when using reporters.

Example configuration

name: example-project
moduleCreationDir: ../modules
goldenFileDir: momentic/golden
reporterDir: reports
[...]

Was this page helpful?