Closed brent-hoover closed 7 years ago
@zenweasel , we can't accept this as is, we're using chai in production code to assert function input args, and other "design by contract" principles, similar to meteor's match package. What you can do, is set an env var, such as METEOR_CHAI_TEST_ONLY, and then in the package.js, if it is set, add the test only flag in Package.describe.
To avoid package being bundled into production.