Skip to content

Commit ba5f12d

Browse files
committed
test: restore comment tests
1 parent 5eb2e31 commit ba5f12d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

test/test-cli.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const test = require('ava')
44
const execa = require('execa')
55
const pathExists = require('path-exists')
66
const readPkg = require('read-pkg')
7-
// const copy = require('cpy')
7+
const copy = require('cpy')
88
const tempfile = require('tempfile')
99

1010
const cli = path.resolve('cli.js')
@@ -43,7 +43,6 @@ test('Check version', async t => {
4343
)
4444
})
4545

46-
/*
4746
test('Transform html witch config in package.json', async t => {
4847
t.plan(2)
4948
const filename = tempfile('.html')
@@ -59,7 +58,7 @@ test('Transform html witch indent', async t => {
5958
t.true(await pathExists(filename))
6059
t.is((await read('test/expected/output-indent.html')), (await read(filename)))
6160
})
62-
*/
61+
6362
test('Transform html witch config in file', async t => {
6463
t.plan(2)
6564
const filename = tempfile('.html')
@@ -75,7 +74,7 @@ test('Transform html witch dot config in file', async t => {
7574
t.true(await pathExists(filename))
7675
t.is((await read('test/expected/output-config-file.html')), (await read(filename)))
7776
})
78-
/*
77+
7978
test('Transform html from folder', async t => {
8079
t.plan(2)
8180
const folder = await tempfile()
@@ -92,7 +91,6 @@ test('Transform html witch options replace', async t => {
9291
t.is((await read('test/expected/output-config-pkg.html')), (await read(`${folder}/input.html`)))
9392
t.is((await read('test/expected/output-indent.html')), (await read(`${folder}/input-indent.html`)))
9493
})
95-
*/
9694

9795
test('Transform html witch config in file and stdin options use', async t => {
9896
t.plan(2)

0 commit comments

Comments
 (0)