diff options
author | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-06-28 18:14:22 -0300 |
---|---|---|
committer | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-06-28 18:14:22 -0300 |
commit | 79fd506d30eef3d113f4a8e3ab9ebd9004f1e8cc (patch) | |
tree | 96ff57c92e897c3cc3331e23043d20f1665c7d0a /tests/fixtures | |
parent | a1eac976b20e39f86d5944fbec68e2a0f8ffb746 (diff) |
feat: index page
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
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, |