fix(core): update
This commit is contained in:
24
test/test.ts
24
test/test.ts
@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user