fix(core): update

This commit is contained in:
2021-07-07 01:05:16 +02:00
parent c71cff4011
commit 1308f16699
8 changed files with 53 additions and 43 deletions

View File

@ -24,13 +24,13 @@ tap.test('should create a standard log message', async () => {
containerName: 'ci-mojoio-logdna',
environment: 'test',
runtime: 'node',
zone: 'shipzone'
zone: 'shipzone',
},
correlation: {
id: '123',
type: 'none'
type: 'none',
},
message: 'this is an awesome log message sent by the tapbundle test'
message: 'this is an awesome log message sent by the tapbundle test',
});
});
@ -51,13 +51,13 @@ tap.test('should send in order', async () => {
containerName: 'ci-mojoio-logdna',
environment: 'test',
runtime: 'node',
zone: 'shipzone'
zone: 'shipzone',
},
message: `this is an awesome log message sent by the tapbundle test #${i}`,
correlation: {
id: '123',
type: 'none'
}
type: 'none',
},
};
testLogDnaAccount.sendSmartlogPackage(testSmartlogMessage);
i++;
@ -73,13 +73,13 @@ tap.test('should send in order', async () => {
containerName: 'ci-mojoio-logdna',
environment: 'test',
runtime: 'node',
zone: 'shipzone'
zone: 'shipzone',
},
correlation: {
id: '123',
type: 'none'
type: 'none',
},
message: `this is an awesome log message sent by the tapbundle test #${i}`
message: `this is an awesome log message sent by the tapbundle test #${i}`,
};
testLogDnaAccount.sendSmartlogPackage(testSmartlogMessage2);
@ -93,13 +93,13 @@ tap.test('should send in order', async () => {
containerName: 'ci-mojoio-logdna',
environment: 'test',
runtime: 'node',
zone: 'shipzone'
zone: 'shipzone',
},
correlation: {
id: '123',
type: 'none'
type: 'none',
},
message: `this is an awesome log message sent by the tapbundle test #${i}`
message: `this is an awesome log message sent by the tapbundle test #${i}`,
};
testLogDnaAccount.sendSmartlogPackage(testSmartlogMessage3);
});