Skip to content

Commit

Permalink
attempt to fix ci timestamp discrepency
Browse files Browse the repository at this point in the history
  • Loading branch information
13bfrancis committed Dec 5, 2024
1 parent abbd67c commit c5f1457
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lambda/sinkMainProcessors.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
} from "./sinkMainProcessors";
import * as sinkLib from "libs";
import { Document, seatool } from "shared-types/opensearch/main";
import { offsetToUtc } from "shared-utils";

const convertObjToBase64 = (obj: object) => Buffer.from(JSON.stringify(obj)).toString("base64");

Expand Down Expand Up @@ -96,7 +97,7 @@ describe("insertOneMacRecordsFromKafkaIntoMako", () => {
seatoolStatus: "Pending",
state: "MD",
stateStatus: "Under Review",
statusDate: new Date("2024-11-26T13:17:21.526Z").toISOString(),
statusDate: offsetToUtc(new Date(1732645041526)).toISOString(),
proposedDate: 1732597200000,
subject: null,
submissionDate: "2024-11-26T00:00:00.000Z",
Expand Down

0 comments on commit c5f1457

Please sign in to comment.