fix(core): update

This commit is contained in:
2019-11-02 01:42:03 +01:00
parent 20a41d3381
commit 2d1a5cdc50
4 changed files with 1154 additions and 648 deletions

View File

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