Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
fix: fix typo in singleton unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
asleepynerd committed Jan 16, 2024
1 parent abfeea6 commit 2707a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/singleton.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe("singleton", () => {
driver: new SqliteDriverMock("nice.sqlite"),
});

const result = QuickDB.getSingletion("test");
const result = QuickDB.getSingleton("test");
expect(result).toBeDefined();
expect(result).toBeInstanceOf(QuickDB);
});
Expand All @@ -25,7 +25,7 @@ describe("singleton", () => {
});

it("should error when getting singleton without name", () => {
expect(QuickDB.getSingletion).toThrow(
expect(QuickDB.getSingleton).toThrow(
expect.objectContaining({ kind: ErrorKind.InvalidType })
);
});
Expand Down

0 comments on commit 2707a38

Please sign in to comment.