All notable changes will be documented in this file. Chai Exec adheres to Semantic Versioning.
v2.1.0 (2020-07-11)
- If the
env
option is not set, then it defaults toprocess.env
, except for Node.js environment variables, such asNODE_ENV
andNODE_OPTIONS
. Since Chai Exec is mostly used to test Node.js CLIs, this ensures that these environment variables don't unexpectedly affect the spawned CLI process.
v2.0.0 (2020-03-04)
-
Moved Chai Exec to the @JSDevTools scope on NPM
-
The "chai-exec" NPM package is now just a wrapper around the scoped "@jsdevtools/chai-exec" package
v1.1.0 (2018-12-23)
- Added a
chaiExec.defaults
property, which can reduce repetition in your tests by only setting thecommand
,args
, and/oroptions
once.