Skip to content

Commit

Permalink
Merge branch 'feature/SPRIND-84' of https://github.com/Sphereon-Opens…
Browse files Browse the repository at this point in the history
…ource/ssi-sdk into feature/SPRIND-84
  • Loading branch information
Brummos committed Nov 4, 2024
2 parents a774a6e + 4df2666 commit 3c9ab66
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 228 deletions.
4 changes: 2 additions & 2 deletions packages/oidf-client/__tests__/localAgent.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import oidfClientAgentLogic from './shared/oidfClientAgentLogic'
import {createObjects, getConfig} from '../../agent-config/dist'
import { getConfig, createObjects } from '@sphereon/ssi-sdk.agent-config'

jest.setTimeout(60000)

Expand All @@ -24,6 +24,6 @@ const testContext = {
tearDown,
}

describe.skip('Local integration tests', (): void => {
describe('Local integration tests', (): void => {
oidfClientAgentLogic(testContext)
})
17 changes: 8 additions & 9 deletions packages/oidf-client/__tests__/restAgent.test.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import 'cross-fetch/polyfill'
// @ts-ignore
import express, {Router} from 'express'
import {Server} from 'http'
import {createAgent, IAgent, IAgentOptions} from '@veramo/core'
import {AgentRestClient} from '@veramo/remote-client'
import {AgentRouter, RequestWithAgentRouter} from '@veramo/remote-server'
import express, { Router } from 'express'
import { Server } from 'http'
import { createAgent, IAgent, IAgentOptions } from '@veramo/core'
import { AgentRestClient } from '@veramo/remote-client'
import { AgentRouter, RequestWithAgentRouter } from '@veramo/remote-server'
import oidfClientAgentLogic from './shared/oidfClientAgentLogic'
import {createObjects, getConfig} from '../../agent-config/dist'
import {IOIDFClient} from "../src";
import {IJwtService} from "@sphereon/ssi-sdk-ext.jwt-service";
import { getConfig, createObjects } from '@sphereon/ssi-sdk.agent-config'
import { IOIDFClient } from '../src'
import { IJwtService } from '@sphereon/ssi-sdk-ext.jwt-service'

jest.setTimeout(60000)

Expand All @@ -30,7 +30,6 @@ const getAgent = (options?: IAgentOptions) =>
],
})


const setup = async (): Promise<boolean> => {
const config = await getConfig('packages/oidf-client/agent.yml')
const { agent } = await createObjects(config, { agent: '/agent' })
Expand Down
Loading

0 comments on commit 3c9ab66

Please sign in to comment.