Skip to content

Commit

Permalink
Change to default import to check loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
bubonicfred committed Jun 18, 2024
1 parent cb5c411 commit 6474ec1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions imports/helpers/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,10 @@ export const extractDateFromString = (string) => {
const match = regEx.exec(string);
return match !== null ? match[0] : false;
};
export default {
formatDateISO8601Time,
msToHHMMSS,
formatDateISO8601,
currentDatePlusDeltaDays,
extractDateFromString,
};
2 changes: 1 addition & 1 deletion tests/unit/imports/ActionItem.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect } from "chai";
import proxyquire from "proxyquire";
import sinon from "sinon";

import * as Helpers from "../../../imports/helpers/date";
import { default as Helpers } from "../../../imports/helpers/date";

const doNothing = () => {};

Expand Down

0 comments on commit 6474ec1

Please sign in to comment.