@jcoreio/toolchain-mocha 5.9.0-beta.2 → 5.9.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcoreio/toolchain-mocha",
3
- "version": "5.9.0-beta.2",
3
+ "version": "5.9.0-beta.3",
4
4
  "description": "Mocha build toolchain",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "nyc": "^15.1.0",
24
24
  "resolve-bin": "^1.0.0",
25
25
  "semver": "^7.5.3",
26
- "@jcoreio/toolchain": "5.9.0-beta.2"
26
+ "@jcoreio/toolchain": "5.9.0-beta.3"
27
27
  },
28
28
  "toolchainManaged": {
29
29
  "devDependencies": {
@@ -110,7 +110,18 @@ const makeScripts = ({
110
110
  },
111
111
  })
112
112
 
113
- module.exports = [makeScripts()]
113
+ module.exports = [
114
+ makeScripts({
115
+ env:
116
+ toolchainConfig.outputCjs === false ?
117
+ {
118
+ ...process.env,
119
+ JCOREIO_TOOLCHAIN_TEST: '1',
120
+ JCOREIO_TOOLCHAIN_ESM: '1',
121
+ }
122
+ : undefined,
123
+ }),
124
+ ]
114
125
 
115
126
  if (
116
127
  toolchainConfig.outputCjs !== false &&