standard-log 7.0.2 → 7.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1232,7 +1232,7 @@ exports.config = function config(options) {
1232
1232
  if (store_1.store.value.mode === 'production') {
1233
1233
  throw new errors_1.ProhibitedDuringProduction('config');
1234
1234
  }
1235
- if (store_1.store.value.mode === 'test') {
1235
+ if (store_1.store.value.mode === 'test' && options.mode !== 'test') {
1236
1236
  var log = (0, getLogger_1.getLogger)('standard-log');
1237
1237
  log.warn("already configured for test, ignoring config() call");
1238
1238
  return;
Binary file