This commit is contained in:
@ -59,7 +59,7 @@ export function assert_keystore_state (): void {
|
||||
}
|
||||
/* eslint-enable dot-notation */
|
||||
|
||||
export function clock_setup ():void {
|
||||
export function clock_setup (): void {
|
||||
assert_keystore_state ();
|
||||
|
||||
const date = (new Date);
|
||||
@ -70,7 +70,7 @@ export function clock_setup ():void {
|
||||
.mockDate (date);
|
||||
}
|
||||
|
||||
export function clock_finalize ():void {
|
||||
export function clock_finalize (): void {
|
||||
jasmine.clock ()
|
||||
.tick (30 * 24 * 60 * 60 * 1000);
|
||||
// eslint-disable-next-line dot-notation
|
||||
|
@ -20,7 +20,7 @@ describe ('key store', () => {
|
||||
clock_finalize ();
|
||||
});
|
||||
|
||||
const keys: {key:string, sign:string, iat:number}[] = [];
|
||||
const keys: {key: string, sign: string, iat: number}[] = [];
|
||||
|
||||
it ('should generate a new key', async () => {
|
||||
const iat = (new Date)
|
||||
|
Reference in New Issue
Block a user