fix(core): update

This commit is contained in:
2023-07-05 10:22:53 +02:00
parent b0cf4bb27f
commit ad24ba2f5d
3 changed files with 10 additions and 27 deletions

View File

@ -10,9 +10,9 @@ tap.test('first test', async () => {
testElasticLog = new elasticsearch.ElasticSearch({
indexPrefix: 'smartlog',
indexRetention: 7,
domain: testQenv.getEnvVarOnDemand('ELK_DOMAIN'),
port: parseInt(testQenv.getEnvVarOnDemand('ELK_PORT'), 10),
ssl: true,
node: testQenv.getEnvVarOnDemand('ELK_DOMAIN'),
user: '',
pass: '',
});
expect(testElasticLog).toBeInstanceOf(elasticsearch.ElasticSearch);
});