Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli doesn't appear to work the same way as mocha #287

Open
xenoterracide opened this issue Apr 9, 2020 · 0 comments
Open

cli doesn't appear to work the same way as mocha #287

xenoterracide opened this issue Apr 9, 2020 · 0 comments

Comments

@xenoterracide
Copy link

xenoterracide commented Apr 9, 2020

with mocha

Calebs-MBP:aurelia-propertysource calebcushing$ npx mocha --require "source-map-support/register" --require "ts-node/register" --require "esm" --extension ts


  value
    1) simple property


  0 passing (60ms)
  1 failing

  1) value
       simple property:
     AssertionError [ERR_ASSERTION]: Expected 'Hello World' to equal 'hello     World'.
      at Object.fail (node_modules/assertthat/build/lib/fail.js:11:22)
      at Object.equalTo (node_modules/assertthat/build/lib/constraints/equalTo.js:10:16)
      at Context.<anonymous> (test/inject.spec.ts:17:39)
      at processImmediate (internal/timers.js:439:21)
      at process.topLevelDomainCallback (domain.js:130:23)

with mocha-parallel-tests, exact same params, also tried with --recurse test/

Calebs-MBP:aurelia-propertysource calebcushing$ npx mocha-parallel-tests --require "source-map-support/register" --require "ts-node/register" --require "esm" --extension ts
No test files found

now oddly

Calebs-MBP:aurelia-propertysource calebcushing$ npx mocha-parallel-tests --require "source-map-support/register" --require "ts-node/register" --require "esm" --extension ts test/inject.spec.ts 


  
    value
      1) simple property


  0 passing (7s)
  1 failing

  1) 
       value
         simple property:
     AssertionError [ERR_ASSERTION]: Expected 'Hello World' to equal 'hello     World'.
      at Object.fail (node_modules/assertthat/build/lib/fail.js:11:22)
      at Object.equalTo (node_modules/assertthat/build/lib/constraints/equalTo.js:10:16)
      at Context.<anonymous> (test/inject.spec.ts:17:39)

Calebs-MBP:aurelia-propertysource calebcushing$ npx mocha --version && npx mocha-parallel-tests --version
7.1.1
2.3.0

what gives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant