Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-at-brightnight committed May 29, 2024
1 parent 47c53a9 commit e48a0c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as moment from 'moment';
import * as dayjs from "dayjs";
import { timediff } from '../lib';
import expect from 'expect';
import { Options } from '../lib';
Expand Down Expand Up @@ -27,7 +27,7 @@ describe('timediff', function () {
}).not.toThrow();
expect(function () {
// @ts-ignore
timediff(new Date(), moment());
timediff(new Date(), dayjs());
}).not.toThrow();
});

Expand Down

0 comments on commit e48a0c4

Please sign in to comment.