mirror of
https://github.com/LanceGin/jsotp.git
synced 2026-04-17 00:01:31 +08:00
add: TOTP.verify function
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ describe('TOTP module test', function() {
|
||||
|
||||
describe('verify() function', function() {
|
||||
it("should print 'TOTP.verify'", function() {
|
||||
assert.equal("TOTP.verify", a.verify());
|
||||
assert.equal(true, a.verify(a.now()));
|
||||
})
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user