✖ greet by name (1.255ms)
ℹ tests 1
ℹ suites 0
ℹ pass 0
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 64.71275
✖ failing tests:
test at failure-message.test.ts:9:1
✖ greet by name (1.255ms)
AssertionError [ERR_ASSERTION]: greet("Ana") = "Hi Ana"; want "Hello, Ana!"
+ actual - expected
+ 'Hi Ana'
- 'Hello, Ana!'
at TestContext.<anonymous> (file:///tmp/pc-capture/failure-message.test.ts:13:10)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Test.start (node:internal/test_runner/test:944:17)
at startSubtestAfterBootstrap (node:internal/test_runner/harness:296:17) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 'Hi Ana',
expected: 'Hello, Ana!',
operator: 'strictEqual',
diff: 'simple'
}