Exclude debugOnly code with "meteor test"?

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.

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