diff options
Diffstat (limited to 'tests/fixtures')
-rw-r--r-- | tests/fixtures/setup.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/fixtures/setup.ts b/tests/fixtures/setup.ts index 0b23ec8..fdcc3bb 100644 --- a/tests/fixtures/setup.ts +++ b/tests/fixtures/setup.ts @@ -2,13 +2,13 @@ import { createMessage, decryptKey, generateKey, - PrivateKey, + type PrivateKey, sign, } from "npm:openpgp@^6.1.1"; import { passphrase } from "./test_data.ts"; -import { MaybeIterable } from "../../src/utils/iterator.ts"; +import type { MaybeIterable } from "../../src/utils/iterator.ts"; import { afterEach, beforeEach } from "@std/testing/bdd"; -import { Stub, stub } from "@std/testing/mock"; +import { type Stub, stub } from "@std/testing/mock"; export async function generateKeyPair( name: string, @@ -50,6 +50,7 @@ export async function createDetachedSignature( const signature = await sign({ message, signingKeys: Symbol.iterator in signingKeys + // deno-lint-ignore no-undef ? Iterator.from(signingKeys).toArray() : signingKeys, detached: true, |