mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
change: Clarify parent error message.
This commit is contained in:
@@ -37,7 +37,8 @@ describe('PathUtil', (): void => {
|
||||
});
|
||||
|
||||
it('errors when the root of an URl is reached that does not match the input root.', async(): Promise<void> => {
|
||||
expect((): any => getParentContainer({ path: 'http://test.com/' })).toThrow('URL root reached');
|
||||
expect((): any => getParentContainer({ path: 'http://test.com/' }))
|
||||
.toThrow('Resource http://test.com/ does not have a parent container');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user