This commit is contained in:
2017-04-30 23:58:03 +02:00
parent 2de09cc7b9
commit ce90cf2034
3 changed files with 26 additions and 13 deletions

View File

@@ -8,3 +8,9 @@ tap.test('should create new Smartscaf instance', async () => {
testScafTemplate = new smartscaf.ScafTemplate()
expect(testScafTemplate).to.be.instanceof(smartscaf.ScafTemplate)
})
tap.test('Smartscaf instance -> should read a template directory', async () => {
testScafTemplate.readTemplateFromDir('./test/test_template')
})
tap.start()