summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSatsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>2020-04-26 10:35:47 +0900
committerGitHub <noreply@github.com>2020-04-26 10:35:47 +0900
commitf08d7df419545ee77fa9e2bea38ed6efda1dd4e5 (patch)
tree88400af3ebf7e578826025562bba26dd2a079048 /test
parentSupports Node v14 (#6294) (diff)
downloadsharkey-f08d7df419545ee77fa9e2bea38ed6efda1dd4e5.tar.gz
sharkey-f08d7df419545ee77fa9e2bea38ed6efda1dd4e5.tar.bz2
sharkey-f08d7df419545ee77fa9e2bea38ed6efda1dd4e5.zip
Update dependencies 🚀 (#6297)
* chore: Update dependencies 🚀 Make everything is up-to-date * chore: Update dependencies 🚀 Good Bye, core-js@2 ! * packaging * Fix test * fix build * fix test * use default reporter * fix mocha is keep running after test * Revert back is-promise https://github.com/then/is-promise/issues/12 * Refresh
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 => {