summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/chart.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/chart.ts b/test/chart.ts
index 06c84a5b02..25b083db17 100644
--- a/test/chart.ts
+++ b/test/chart.ts
@@ -11,7 +11,7 @@
process.env.NODE_ENV = 'test';
import * as assert from 'assert';
-import * as lolex from 'lolex';
+import * as lolex from '@sinonjs/fake-timers';
import { async } from './utils';
import TestChart from '../src/services/chart/charts/classes/test';
import TestGroupedChart from '../src/services/chart/charts/classes/test-grouped';
@@ -51,7 +51,7 @@ describe('Chart', () => {
let testChart: TestChart;
let testGroupedChart: TestGroupedChart;
let testUniqueChart: TestUniqueChart;
- let clock: lolex.InstalledClock<lolex.Clock>;
+ let clock: lolex.InstalledClock;
let connection: Connection;
before(done => {