@jonstuebe/allot-utils
Version:
Util functions for Allot
18 lines • 605 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const paycheck_1 = require("./paycheck");
describe("createPaycheck", () => {
it("returns a paycheck object", () => {
const paycheck = paycheck_1.createPaycheck({
amount: 1200,
date: new Date(2019, 11, 1, 0, 0, 0, 0),
source: "Acme Computing Inc."
});
expect(paycheck).toEqual({
amount: 1200,
date: new Date(2019, 11, 1, 0, 0, 0, 0),
source: "Acme Computing Inc."
});
});
});
//# sourceMappingURL=paycheck.test.js.map