0

I am using node:test test runner.

The test simply prints to stdout using console.log.

console.log({ foo: JSON.stringify(choices) });

I expect the output to include the result of JSON.stringify, but instead I am getting:

node --test --test-reporter=spec src/createChat.test.ts
ℹ {
ℹ foo:
ℹ }
Luc Gagan
  • 301
  • 9

0 Answers0