Skip to content

Commit

Permalink
Fixing linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bidek56 committed Dec 28, 2024
1 parent f92688b commit 0038898
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions __tests__/dataframe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ describe("dataframe", () => {
│ 3 ┆ three ┆ {false,true,"three",3} │
└─────┴───────┴────────────────────────┘`;
expect(actual.toString()).toStrictEqual(expected);
expect(actual.getColumn('name').toArray()).toEqual(rows.map(e=>e['name']));
expect(actual.getColumn('attributes').toArray()).toMatchObject(rows.map(e=>e['attributes']));
expect(actual.getColumn("name").toArray()).toEqual(
rows.map((e) => e["name"]),
);
expect(actual.getColumn("attributes").toArray()).toMatchObject(
rows.map((e) => e["attributes"]),
);
});
test("dtypes", () => {
const expected = [pl.Float64, pl.String];
Expand Down

0 comments on commit 0038898

Please sign in to comment.