From 55f6470d3b5ef947af7cd66e687268bce6bac6ff Mon Sep 17 00:00:00 2001 From: Frank Hinek Date: Wed, 1 Nov 2023 16:25:11 -0400 Subject: [PATCH] Remove exclusive tests Signed-off-by: Frank Hinek --- packages/dids/src/did-dht.ts | 2 +- packages/dids/tests/dht.spec.ts | 2 +- packages/dids/tests/did-dht.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dids/src/did-dht.ts b/packages/dids/src/did-dht.ts index 1bbe0252b..2e19e860d 100644 --- a/packages/dids/src/did-dht.ts +++ b/packages/dids/src/did-dht.ts @@ -154,7 +154,7 @@ export class DidDhtMethod implements DidMethod { public static async generateKeySet(options?: { keySet?: DidDhtKeySet }): Promise { - let {keySet = {}} = options ?? {}; + let { keySet = {} } = options ?? {}; if (!keySet.identityKey) { keySet.identityKey = await this.generateJwkKeyPair({ diff --git a/packages/dids/tests/dht.spec.ts b/packages/dids/tests/dht.spec.ts index 125a30a0a..8b74155ae 100644 --- a/packages/dids/tests/dht.spec.ts +++ b/packages/dids/tests/dht.spec.ts @@ -7,7 +7,7 @@ import type { DidKeySetVerificationMethodKey, DidService } from '../src/types.js import { DidDht } from '../src/dht.js'; import { DidDhtMethod } from '../src/did-dht.js'; -describe.only('DidDht', () => { +describe('DidDht', () => { it('should create a put and parse a get request', async () => { const { document, keySet } = await DidDhtMethod.create(); diff --git a/packages/dids/tests/did-dht.spec.ts b/packages/dids/tests/did-dht.spec.ts index 3504b70f0..d17bd49fe 100644 --- a/packages/dids/tests/did-dht.spec.ts +++ b/packages/dids/tests/did-dht.spec.ts @@ -10,7 +10,7 @@ chai.use(chaiAsPromised); const wait = ms => new Promise(resolve => setTimeout(resolve, ms)); -describe.only('DidDhtMethod', () => { +describe('DidDhtMethod', () => { describe('keypairs', () => { it('should generate a key pair', async () => { const ed25519KeyPair = await DidDhtMethod.generateJwkKeyPair({ keyAlgorithm: 'Ed25519' });