diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/commit.unit.test.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/unit/commit.unit.test.ts b/test/unit/commit.unit.test.ts index 21c04db..d302ea8 100644 --- a/test/unit/commit.unit.test.ts +++ b/test/unit/commit.unit.test.ts @@ -120,5 +120,14 @@ describe("Commit", () => { expect(fingerprint).toBeDefined(); }); + + it("Should verify the commit pgp signature and respond true", async() => { + expect.assertions(2); + + const verified = await commit.verifySignature(); + + expect(verified).toBeDefined(); + expect(verified).toBeTruthy(); + }); }); });
\ No newline at end of file |