This commit is contained in:
parent
4004a93bb2
commit
b12ffc17b8
@ -143,7 +143,7 @@ describe ('crypto helper', () => {
|
|||||||
.toEqual (null);
|
.toEqual (null);
|
||||||
});
|
});
|
||||||
|
|
||||||
it ('should not fail verification if timeout unspecified', async () => {
|
it ('should not fail verification if timeout unspecified', () => {
|
||||||
jasmine.clock ()
|
jasmine.clock ()
|
||||||
.install ();
|
.install ();
|
||||||
const base_time = (new Date);
|
const base_time = (new Date);
|
||||||
@ -164,7 +164,7 @@ describe ('crypto helper', () => {
|
|||||||
.uninstall ();
|
.uninstall ();
|
||||||
});
|
});
|
||||||
|
|
||||||
it ('should reject old signatures', async () => {
|
it ('should reject old signatures', () => {
|
||||||
jasmine.clock ()
|
jasmine.clock ()
|
||||||
.install ();
|
.install ();
|
||||||
const base_time = (new Date);
|
const base_time = (new Date);
|
||||||
@ -185,7 +185,7 @@ describe ('crypto helper', () => {
|
|||||||
.uninstall ();
|
.uninstall ();
|
||||||
});
|
});
|
||||||
|
|
||||||
it ('should not reject valid signatures', async () => {
|
it ('should not reject valid signatures', () => {
|
||||||
jasmine.clock ()
|
jasmine.clock ()
|
||||||
.install ();
|
.install ();
|
||||||
const base_time = (new Date);
|
const base_time = (new Date);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user