#1230·shelljs

Support test on environment variable's value

Author: riceyehCreated Sep 3, 2025Updated Sep 6, 2025
Labelsfeaturehelp wanted

It will be very useful for test to support testing on environment variable's value like the following example (with shx as wrapper):

shx test "${NODE_ENV}" = "production"  && shx mkdir -p dist/data || shx mkdir -p tmp/data