mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Move pod templates to pod subfolder.
This commit is contained in:
committed by
Joachim Van Herwegen
parent
4638ba4bce
commit
a5413a64d3
@@ -59,7 +59,7 @@ describe('CliRunner', (): void => {
|
||||
'urn:solid-server:default:variable:rootFilePath': '/var/cwd/',
|
||||
'urn:solid-server:default:variable:sparqlEndpoint': undefined,
|
||||
'urn:solid-server:default:variable:loggingLevel': 'info',
|
||||
'urn:solid-server:default:variable:podTemplateFolder': joinFilePath(__dirname, '../../../templates'),
|
||||
'urn:solid-server:default:variable:podTemplateFolder': joinFilePath(__dirname, '../../../templates/pod'),
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
@@ -38,7 +38,7 @@ async function genToArray<T>(iterable: AsyncIterable<T>): Promise<T[]> {
|
||||
}
|
||||
|
||||
describe('A TemplatedResourcesGenerator', (): void => {
|
||||
const rootFilePath = 'templates';
|
||||
const rootFilePath = 'templates/pod';
|
||||
// Using handlebars engine since it's smaller than any possible dummy
|
||||
const generator = new TemplatedResourcesGenerator(rootFilePath, new DummyFactory(), new HandlebarsTemplateEngine());
|
||||
let cache: { data: any };
|
||||
|
||||
Reference in New Issue
Block a user