Skip to content

Commit

Permalink
dedup
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe committed Nov 1, 2023
1 parent 01c76a2 commit 362a617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dids/tests/did-dht.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import {DidKeySetVerificationMethodKey, DidService} from '../src/index.js';

chai.use(chaiAsPromised);

const wait = ms => new Promise(resolve => setTimeout(resolve, ms));

describe('did-dht', () => {
describe('keypairs', () => {
it('should generate a keypair', async () => {
Expand Down Expand Up @@ -212,7 +214,6 @@ describe('did-dht', () => {
expect(didResolutionResult.didDocument.service).to.not.exist;

// wait for propagation
const wait = ms => new Promise(resolve => setTimeout(resolve, ms));
await wait(1000*10);

const gotDid = await DidDhtMethod.resolve(document.id);
Expand All @@ -228,7 +229,6 @@ describe('did-dht', () => {
const {document} = await DidDhtMethod.create({publish: true});

// wait for propagation
const wait = ms => new Promise(resolve => setTimeout(resolve, ms));
await wait(1000*10);

const gotDid = await DidDhtMethod.resolve(document.id);
Expand Down

0 comments on commit 362a617

Please sign in to comment.