fix(core): update
This commit is contained in:
parent
115b9de37f
commit
f80828bcb2
2
qenv.yml
2
qenv.yml
@ -1,3 +1,3 @@
|
|||||||
vars:
|
required:
|
||||||
- RECEIVER_ENDPOINT
|
- RECEIVER_ENDPOINT
|
||||||
- PASSPHRASE
|
- PASSPHRASE
|
12
test/test.ts
12
test/test.ts
@ -9,8 +9,8 @@ let testSmartlogReceiver: smartlogDestinationReceiver.SmartlogDestinationReceive
|
|||||||
|
|
||||||
tap.test('should create a valid SmartlogDestinationReceiver', async () => {
|
tap.test('should create a valid SmartlogDestinationReceiver', async () => {
|
||||||
testSmartlogReceiver = new smartlogDestinationReceiver.SmartlogDestinationReceiver({
|
testSmartlogReceiver = new smartlogDestinationReceiver.SmartlogDestinationReceiver({
|
||||||
receiverEndpoint: process.env.RECEIVER_ENDPOINT,
|
receiverEndpoint: testQenv.getEnvVarOnDemand("RECEIVER_ENDPOINT"),
|
||||||
passphrase: process.env.PASSPHRASE
|
passphrase: testQenv.getEnvVarOnDemand("PASSPHRASE")
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -20,14 +20,18 @@ tap.test('should send a valid message', async () => {
|
|||||||
context: {
|
context: {
|
||||||
company: 'Lossless GmbH',
|
company: 'Lossless GmbH',
|
||||||
companyunit: 'Lossless Cloud',
|
companyunit: 'Lossless Cloud',
|
||||||
containerName: null,
|
containerName: 'tapbundle-test',
|
||||||
environment: 'local',
|
environment: 'local',
|
||||||
runtime: 'node',
|
runtime: 'node',
|
||||||
zone: 'gitzone'
|
zone: 'gitzone'
|
||||||
},
|
},
|
||||||
type: 'log',
|
type: 'log',
|
||||||
level: 'info',
|
level: 'info',
|
||||||
message: 'This is a message'
|
correlation: {
|
||||||
|
id: '123',
|
||||||
|
type: 'none'
|
||||||
|
},
|
||||||
|
message: 'This is a message',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user