fix(core): update

This commit is contained in:
2023-03-06 18:45:20 +01:00
parent 78d4df7082
commit 31bf5f7486
4 changed files with 4397 additions and 14184 deletions

View File

@ -6,8 +6,8 @@ import * as path from 'path';
const dirname = smartpath.get.dirnameFromImportMetaUrl(import.meta.url);
let testHbsDir = path.join(dirname, 'hbs_testfiles');
let testPartialDir = path.join(testHbsDir, 'partials');
let hbs_testfilesDir = path.join(dirname, 'hbs_testfiles');
let testPartialDir = path.join(hbs_testfilesDir, 'partials');
let testResultDir = path.join(dirname, 'testresult');
tap.test('smarthbs -> should create partials', async () => {
@ -15,7 +15,7 @@ tap.test('smarthbs -> should create partials', async () => {
});
tap.test('smarthbs -> should compile a directory', async () => {
smarthbs.compileDirectory(testHbsDir, testResultDir, 'data.json');
smarthbs.compileDirectory(hbs_testfilesDir, testResultDir, 'data.json');
});
tap.test('', async () => {