If your project has multiple configuration files you will need to tell Snyk to include in the test.
When no configuration is explicitly provided, Snyk pick the first non-empty one.
You can either test another configuration by specifying one:
snyk test -- --configuration <configuration>
Or you can tell Snyk to test all configurations
snyk test --all-sub-projects