Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/app/api/checksum/route.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe("No-op test", () => {
it("should pass by doing nothing", () => {
expect(true).toBe(true);
});
});
1 change: 0 additions & 1 deletion src/components/ReferralDatabase/ReferralDataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { useState, useEffect } from "react";
import Switch from "@mui/material/Switch";
import jsPDF from "jspdf";
import autoTable from "jspdf-autotable";
import dayjs from "dayjs"; // For date

const CustomToolbar = ({ onExport }: { onExport: () => void }) => {
return (
Expand Down
3 changes: 1 addition & 2 deletions src/utils/checksum.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { calculateChecksum } from "./checksum";

describe("Checksum Function", () => {
it("should calculate the correct checksum for a given string", () => {
//const input = "test@example.comJohn Doe12345";
const input = "amandayen124@gmail.comJohn Doe12345";
const input = "test@example.comJohn Doe12345";
const expectedChecksum = calculateChecksum(input); // Dynamically calculate the expected checksum
expect(calculateChecksum(input)).toBe(expectedChecksum);
});
Expand Down