Hi Elm Community!
I am using elm-explorations/test with rtfeldman/node-test-runner to run tests within my elm project.
I have my tests within a custom directory so I attempt to use the glob option within the node-test-runner for elm to find and execute the tests. I receive this error every time I attempt to execute the tests:
My run command: elm-test "custom_name_example/*.elm"
Error:
I couldn't find any exposed values of type Test in files matching "/[abs_path]/custom_name_example/Example.elm"
I replicated this issue with a new elm project. To replicate:
- Create a new elm project (elm init)
- Init elm test (elm-test init)
- Move the elm tests folder and call it something custom.
- Attempt to run the tests from the custom folder (elm-test “[custom_name]/*.elm”)
I am unsure what the problem is as there are many examples of people using globs in custom directories for their elm tests.