mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
13 lines
427 B
TypeScript
13 lines
427 B
TypeScript
import {
|
|
AbsolutePathInteractionRoute,
|
|
} from '../../../../../src/identity/interaction/routing/AbsolutePathInteractionRoute';
|
|
|
|
describe('An AbsolutePathInteractionRoute', (): void => {
|
|
const path = 'http://example.com/idp/path/';
|
|
const route = new AbsolutePathInteractionRoute(path);
|
|
|
|
it('returns the given path.', async(): Promise<void> => {
|
|
expect(route.getPath()).toBe('http://example.com/idp/path/');
|
|
});
|
|
});
|