1 |
|
2 |
|
3 |
|
4 |
|
5 | 'use strict'
|
6 |
|
7 | const scff = require('../lib/scff.js')
|
8 | const assert = require('assert')
|
9 | const co = require('co')
|
10 | const apemanScff = require('apeman-scff')
|
11 |
|
12 | describe('scff', () => {
|
13 | let tmpDir = `${__dirname}/../tmp`
|
14 |
|
15 | before(() => co(function * () {
|
16 | }))
|
17 |
|
18 | after(() => co(function * () {
|
19 | }))
|
20 |
|
21 | it('Scff', () => co(function * () {
|
22 | assert.ok(scff)
|
23 | yield apemanScff(scff, `${tmpDir}/my-awesome-project`, {
|
24 | silent: false,
|
25 | force: true,
|
26 | straight: true
|
27 | })
|
28 | }))
|
29 | })
|
30 |
|
31 |
|