Exclude debugOnly code with "meteor test"?


#1

Does anyone know of a way to exclude debugOnly code from the test environment?

Running meteor with “–production” works well for acceptance tests that run externally to the app, but the built-in test modes (i.e meteor test) do not appear to support anything similar.


#2

For anyone else that is interested, I ended up filing a feature request for this here