mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Fix typo in test description
This commit is contained in:
parent
9e682f5c4f
commit
b1c360409d
@ -184,7 +184,7 @@ describe('An FixedContentTypeMapper', (): void => {
|
|||||||
await expect(mapper.mapFilePathToUrl(`${rootFilepath}test.txt`, false)).rejects.toThrow(NotFoundHttpError);
|
await expect(mapper.mapFilePathToUrl(`${rootFilepath}test.txt`, false)).rejects.toThrow(NotFoundHttpError);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('returns a generate file path for metadata regardless of the suffix.', async(): Promise<void> => {
|
it('returns a generated file path for metadata regardless of the suffix.', async(): Promise<void> => {
|
||||||
await expect(mapper.mapFilePathToUrl(`${rootFilepath}.meta`, false)).resolves.toEqual({
|
await expect(mapper.mapFilePathToUrl(`${rootFilepath}.meta`, false)).resolves.toEqual({
|
||||||
identifier: { path: `${base}` },
|
identifier: { path: `${base}` },
|
||||||
filePath: `${rootFilepath}.meta`,
|
filePath: `${rootFilepath}.meta`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user