test: Run input tests

Fixes #817
This commit is contained in:
Tom MacWright 2017-07-28 11:48:17 -04:00 committed by Tom MacWright
parent d1320f694e
commit c3cdaeab65
2 changed files with 1330 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@ -89,7 +89,7 @@ test('bad input', function() {
});
});
test('html', function() {
describe('html', function() {
glob
.sync(path.join(__dirname, 'fixture/html', '*.input.js'))
.forEach(function(file) {
@ -109,7 +109,7 @@ test('html', function() {
});
});
test('outputs', function() {
describe('outputs', function() {
glob
.sync(path.join(__dirname, 'fixture', '*.input.js'))
.forEach(function(file) {
@ -157,9 +157,9 @@ test('outputs', function() {
test('highlightAuto md output', async function() {
var file = path.join(
__dirname,
'fixture/auto_lang_hljs/multilanguage.input.js'
),
__dirname,
'fixture/auto_lang_hljs/multilanguage.input.js'
),
hljsConfig = {
hljs: { highlightAuto: true, languages: ['js', 'css', 'html'] }
};