@exodus/test 1.0.0-rc.83 → 1.0.0-rc.84

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.
Files changed (2) hide show
  1. package/bin/index.js +3 -5
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -201,7 +201,7 @@ function parseOptions() {
201
201
  case '--concurrency':
202
202
  const concurrency = args.shift()
203
203
  options.concurrency = Number(concurrency)
204
- assert.equal(concurrency, `${options.concurrency}`)
204
+ assert.equal(`${concurrency}`, `${options.concurrency}`)
205
205
  assert(Number.isInteger(options.concurrency) && options.concurrency >= 0)
206
206
  break
207
207
  case '--bundle-entropy-size':
@@ -220,10 +220,8 @@ function parseOptions() {
220
220
  }
221
221
  }
222
222
 
223
- assert(
224
- args.every((arg) => typeof arg === 'string' && !arg.startsWith('--')),
225
- 'Options should come before patterns'
226
- )
223
+ const argsArePlainStrings = args.every((arg) => typeof arg === 'string' && !arg.startsWith('--'))
224
+ assert(argsArePlainStrings, 'Options should come before patterns')
227
225
 
228
226
  const patterns = [...args]
229
227
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/test",
3
- "version": "1.0.0-rc.83",
3
+ "version": "1.0.0-rc.84",
4
4
  "author": "Exodus Movement, Inc.",
5
5
  "description": "A test suite runner",
6
6
  "homepage": "https://github.com/ExodusMovement/test",