
 NX   Running target test for 3 projects:

- a
- b
- c


✔  nx run a:test
✔  nx run c:test

> nx run b:test


> b@1.0.0 test
> node --test

[32m✔ one [90m(0.579583ms)[39m[39m
[32m✔ two [90m(0.08925ms)[39m[39m
[31m✖ bad [90m(0.573791ms)[39m[39m
[34mℹ tests 3[39m
[34mℹ suites 0[39m
[34mℹ pass 2[39m
[34mℹ fail 1[39m
[34mℹ cancelled 0[39m
[34mℹ skipped 0[39m
[34mℹ todo 0[39m
[34mℹ duration_ms 136.446125[39m

[31m✖ failing tests:[39m

test at b.test.js:5:1
[31m✖ bad [90m(0.573791ms)[39m[39m
  AssertionError [ERR_ASSERTION]: 1 == 2
      at TestContext.<anonymous> [90m(/work/mono/nx_mixed/packages/b/[39mb.test.js:5:28[90m)[39m
  [90m    at Test.runInAsyncScope (node:async_hooks:226:14)[39m
  [90m    at Test.run (node:internal/test_runner/test:1402:25)[39m
  [90m    at Test.processPendingSubtests (node:internal/test_runner/test:974:18)[39m
  [90m    at Test.postRun (node:internal/test_runner/test:1542:19)[39m
  [90m    at Test.run (node:internal/test_runner/test:1467:12)[39m
  [90m    at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)[39m {
    generatedMessage: [33mtrue[39m,
    code: [32m'ERR_ASSERTION'[39m,
    actual: [33m1[39m,
    expected: [33m2[39m,
    operator: [32m'=='[39m,
    diff: [32m'simple'[39m
  }
npm error Lifecycle script `test` failed with error:
npm error code 1
npm error path /work/mono/nx_mixed/packages/b
npm error workspace b@1.0.0
npm error location /work/mono/nx_mixed/packages/b
npm error command failed
npm error command sh -c node --test



 NX   Running target test for 3 projects failed

Failed tasks:

- b:test

Output of 2 successful tasks were not shown. Run with --verbose or --output-style=static to see it.

  Run duration:      883ms
  Cache:             0/2 hit (0%)
  Critical path:     876ms (1 task)
  Recoverable time:  <1ms
