Skip to content

Commit

Permalink
Corrected testing errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
pinghe authored May 20, 2024
1 parent e20d952 commit 7e7c771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agdb_api/typescript/tests/InsertElements.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { QueryBuilder } from "../src/index";
import { describe, it, expect } from "vitest";

class MyClass {
db_id: number | undefined;
db_id: number | undefined | string;
name: string = "";
age: number = 0;
}
Expand All @@ -28,7 +28,7 @@ describe("insert elements", () => {

it("invalid db_id", () => {
let e: MyClass = {
db_id: undefined,
db_id: '1',
name: "John",
age: 30,
};
Expand Down

0 comments on commit 7e7c771

Please sign in to comment.