fix(core): update

This commit is contained in:
Philipp Kunz 2020-06-03 03:42:15 +00:00
parent a03395d5b2
commit 9384dcc60e

View File

@ -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();