At the moment having .test or .spec files in your trigger directories can cause issues with compilation.
We should support an ignore array of globs. Files matching the patterns wouldn't be included in the build.
ignore: ["**/*.test.*", "**/*.spec.*"]
TRI-4324