mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Use local file for oidc-provider typings
Due to v8 of oidc-provider being ESM, we can't use the typings directly because of a TS bug: https://github.com/microsoft/TypeScript/issues/49721. This works around that.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import fetch from 'cross-fetch';
|
||||
import type { Adapter } from 'oidc-provider';
|
||||
import type { AdapterFactory } from '../../../../src/identity/storage/AdapterFactory';
|
||||
import { WebIdAdapterFactory } from '../../../../src/identity/storage/WebIdAdapterFactory';
|
||||
import { RdfToQuadConverter } from '../../../../src/storage/conversion/RdfToQuadConverter';
|
||||
import type { Adapter } from '../../../../templates/types/oidc-provider';
|
||||
|
||||
jest.mock('cross-fetch');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user