From 9384dcc60e4d9a2aa1435b3c5e95942f44d9520a Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 3 Jun 2020 03:42:15 +0000 Subject: [PATCH] fix(core): update --- test/test.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/test.ts b/test/test.ts index c3ebabc..b23064a 100644 --- a/test/test.ts +++ b/test/test.ts @@ -54,6 +54,22 @@ tap.test('should send in order', async () => { testLogDnaAccount.sendSmartlogPackage(testSmartlogMessage); i++; } + + const testSmartlogMessage: ILogPackage = { + timestamp: Date.now(), + type: 'log', + level: 'warn', + context: { + company: 'Lossless GmbH', + companyunit: 'lossless.cloud', + containerName: 'ci-mojoio-logdna', + environment: 'test', + runtime: 'node', + zone: 'shipzone' + }, + message: `this is an awesome log message sent by the tapbundle test #${i}` + }; + testLogDnaAccount.sendSmartlogPackage(testSmartlogMessage); }); tap.start();