firescript
Version:
Firescript language
24 lines (19 loc) • 569 B
JavaScript
const path = require('path')
const shellInspect = require('shell-inspect')
const projectDir = path.join(__dirname, '../../tmp/')
const cmd = path.join(__dirname, '../../../cli/firescript')
describe.skip('Init command', () => {
beforeEach(() => {
inspect.removeDir(projectDir, { silent: true })
inspect.createDir(projectDir, { silent: true })
})
describe('project setup', () => {
it('creates a firerc.json file', () => {
return shellInspect
.cwd(projectDir)
.cmd(`${cmd} init`)
.test(() => {
})
})
})
})