firescript
Version:
Firescript language
27 lines (22 loc) • 656 B
JavaScript
const inspect = require('inspect.js')
const sinon = require('sinon')
const path = require('path')
inspect.useSinon(sinon)
const shellInspect = require('shell-inspect')
const projectDir = path.join(__dirname, '../../tmp/')
const cmd = path.join(__dirname, '../../../bin/fire')
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(() => {
})
})
})
})