fix variable distribution

This commit is contained in:
2017-08-09 16:57:32 +02:00
parent 5b42cf93cb
commit 98875a2ece
3 changed files with 11 additions and 6 deletions

View File

@ -3,7 +3,7 @@ import * as path from 'path'
import * as smartscaf from '../ts/index'
process.env.CI = 'true'
// process.env.CI = 'true'
let testScafTemplate: smartscaf.ScafTemplate
@ -26,6 +26,10 @@ tap.test('ask cli', async () => {
await testScafTemplate.askCliForMissingVariables()
})
tap.test('should have valid supplied variables', async () => {
console.log(testScafTemplate.suppliedVariables)
})
tap.test('should output ready rendered template', async () => {
await testScafTemplate.writeToDisk(path.resolve('./test/test_output'))
})