fix variable distribution
This commit is contained in:
@ -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'))
|
||||
})
|
||||
|
Reference in New Issue
Block a user