add: TOTP.verify function

This commit is contained in:
lancegin
2017-06-30 14:08:11 +08:00
parent 82e18b07a0
commit c3e644a546
2 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -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()));
})
})
});