mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

Complete rewrite of the account management and related systems. Makes the architecture more modular, allowing for easier extensions and configurations.
11 lines
392 B
TypeScript
11 lines
392 B
TypeScript
import { StaticInteractionHandler } from '../../../../src/identity/interaction/StaticInteractionHandler';
|
|
|
|
describe('A FixedInteractionHandler', (): void => {
|
|
const json = { data: 'data' };
|
|
const handler = new StaticInteractionHandler(json);
|
|
|
|
it('returns the given JSON as response.', async(): Promise<void> => {
|
|
await expect(handler.handle()).resolves.toEqual({ json });
|
|
});
|
|
});
|