Skip to content

Commit

Permalink
chore: correct behavior in test
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Sep 26, 2024
1 parent a15374b commit d851045
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/messages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ describe('Messages', () => {

it('should return single string from array of messages', () => {
expect(messages.getMessage('manyMsgs', ['blah', 864])).to.equal(
`hello blah 864${EOL}world blah 864${EOL}test message 2 blah and 864`
`hello${EOL}world${EOL}test message 2 blah and 864`
);
});

it('should return multiple string from array of messages', () => {
expect(messages.getMessages('manyMsgs', ['blah', 864])).to.deep.equal([
'hello blah 864',
'world blah 864',
'hello',
'world',
'test message 2 blah and 864',
]);
});
Expand Down

2 comments on commit d851045

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - ubuntu-latest

Benchmark suite Current: d851045 Previous: 6e4063c Ratio
Child logger creation 464799 ops/sec (±0.68%) 466523 ops/sec (±1.64%) 1.00
Logging a string on root logger 739184 ops/sec (±7.68%) 815754 ops/sec (±9.88%) 1.10
Logging an object on root logger 616782 ops/sec (±7.59%) 608280 ops/sec (±5.78%) 0.99
Logging an object with a message on root logger 8573 ops/sec (±206.51%) 4974 ops/sec (±213.16%) 0.58
Logging an object with a redacted prop on root logger 416850 ops/sec (±14.14%) 431521 ops/sec (±12.07%) 1.04
Logging a nested 3-level object on root logger 379340 ops/sec (±4.39%) 381244 ops/sec (±8.22%) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - windows-latest

Benchmark suite Current: d851045 Previous: 6e4063c Ratio
Child logger creation 323489 ops/sec (±0.80%) 332805 ops/sec (±0.76%) 1.03
Logging a string on root logger 786125 ops/sec (±5.33%) 830544 ops/sec (±7.31%) 1.06
Logging an object on root logger 614686 ops/sec (±8.52%) 593422 ops/sec (±7.67%) 0.97
Logging an object with a message on root logger 5305 ops/sec (±206.79%) 3433 ops/sec (±217.81%) 0.65
Logging an object with a redacted prop on root logger 454446 ops/sec (±8.49%) 495219 ops/sec (±5.52%) 1.09
Logging a nested 3-level object on root logger 326126 ops/sec (±5.25%) 339748 ops/sec (±4.94%) 1.04

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.