Skip to content

Commit

Permalink
test: change parsing test to not fail on new art added
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzzy committed Jul 25, 2024
1 parent 3ee578a commit b10723b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/parsing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Orientation, Status } from "./models";
describe("parseArt()", () => {
test("Parses art.csv", async () => {
const records = await parseArt();
expect(records).toHaveLength(13);
expect(records.length).toBeGreaterThan(0);
expect(records[0]).toStrictEqual({
cost: "5",
exhibited: null,
Expand All @@ -21,7 +21,7 @@ describe("parseArt()", () => {
height: 410,
id: "1",
image: "/art/1.jpg",
listPrice: "150",
listPrice: "100",
location: "Luggage",
madeOn: new Date("2024-07-16T00:00:00.000Z"),
medium: "Watercolor on paper",
Expand Down

0 comments on commit b10723b

Please sign in to comment.