Skip to content

Commit

Permalink
test: Remove import of date
Browse files Browse the repository at this point in the history
  • Loading branch information
bubonicfred committed Jun 18, 2024
1 parent 8b58e52 commit 1e9d09a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/unit/imports/InfoItem.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@ import { expect } from "chai";
import _ from "lodash";
import proxyquire from "proxyquire";
import sinon from "sinon";

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

const Topic = {};
const Label = {};

Helpers["@noCallThru"] = true;

class MeteorError {}
const Meteor = {
Error: MeteorError,
Expand All @@ -32,7 +28,6 @@ const { InfoItem } = proxyquire("../../../imports/infoitem", {
"meteor/random": { Random, "@noCallThru": true },
"/imports/user": { User, "@noCallThru": true },
lodash: { _, "@noCallThru": true },
"/imports/helpers/date": Helpers,
"./topic": { Topic, "@noCallThru": true },
"./label": { Label, "@noCallThru": true },
});
Expand Down

0 comments on commit 1e9d09a

Please sign in to comment.