Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed Jun 14, 2024
1 parent 47926d9 commit 5997dbf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/protocol/tests/test-vectors.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ import { Parser } from '../src/parser.js'
import Sinon from 'sinon'

describe('TbdexTestVectorsProtocol', function () {
let messageVerifyStub: Sinon.SinonStub;
let resourceVerifyStub: Sinon.SinonStub;
let messageVerifyStub: Sinon.SinonStub
let resourceVerifyStub: Sinon.SinonStub

beforeEach(function() {
// Our intent here is to test the overall parsing logic,
// so stub the signature verify methods to avoid real DID resolution over the network which can take more than 10 seconds for DID DHT
messageVerifyStub = Sinon.stub(Message.prototype, 'verify');
resourceVerifyStub = Sinon.stub(Resource.prototype, 'verify');
});
messageVerifyStub = Sinon.stub(Message.prototype, 'verify')
resourceVerifyStub = Sinon.stub(Resource.prototype, 'verify')
})

afterEach(function() {
// Restore the original method
messageVerifyStub.restore();
resourceVerifyStub.restore();
});
messageVerifyStub.restore()
resourceVerifyStub.restore()
})

it('parse_close', async () => {
// Parse with parseMessage()
Expand Down

0 comments on commit 5997dbf

Please sign in to comment.