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

Commit

Permalink
Merge pull request #510 from joshiewtf/dev
Browse files Browse the repository at this point in the history
fix: fix typo in singleton unit test
  • Loading branch information
Zelak312 authored Jan 16, 2024
2 parents 13d33d0 + 2707a38 commit e096567
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 e096567

Please sign in to comment.