fix(core): update

This commit is contained in:
2019-08-02 16:33:45 +02:00
parent 256a14fcb0
commit 500a291b2a
5 changed files with 53 additions and 57 deletions

View File

@ -8,10 +8,10 @@ import * as lik from '../ts/index';
let testTimedAggregator: lik.TimedAggregtor<string>;
tap.test('should create a timed aggregaotor', async (tools) => {
tap.test('should create a timed aggregaotor', async tools => {
testTimedAggregator = new lik.TimedAggregtor<string>({
aggregationIntervalInMillis: 1000,
functionForAggregation: (aggregation) => {
functionForAggregation: aggregation => {
console.log(aggregation);
}
});