Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/system/EventMediatorTest.ts2
-rw-r--r--test/system/StandardLoggerTest.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/system/EventMediatorTest.ts b/test/system/EventMediatorTest.ts
index abfbef8..cf854b6 100644
--- a/test/system/EventMediatorTest.ts
+++ b/test/system/EventMediatorTest.ts
@@ -26,7 +26,7 @@ import { expect } from 'chai';
import { PsrLogger } from '../../src/system/PsrLogger';
-describe( 'system.EventLogger captures and logs events', () =>
+describe( 'system.EventMediator captures and logs events', () =>
{
it( 'document-processed triggers log#notice', () =>
{
diff --git a/test/system/StandardLoggerTest.ts b/test/system/StandardLoggerTest.ts
index 918bfd1..d655e0b 100644
--- a/test/system/StandardLoggerTest.ts
+++ b/test/system/StandardLoggerTest.ts
@@ -30,7 +30,7 @@ declare interface MockConsole extends Console {
getStr(): string,
}
-describe( 'system.EventLogger captures and logs events', () =>
+describe( 'system.StandardLogger captures and logs events', () =>
{
it( 'debug triggers console output level: info', () =>
{
@@ -139,7 +139,7 @@ describe( 'system.EventLogger captures and logs events', () =>
const context = { bar: 'baz' };
const expected_output = {
message: 'Foo',
- timestamp: 123123,
+ timestamp: '1970-01-02T10:12:03.000Z',
service: 'quote-server',
env: 'test',
severity: 'NOTICE',