PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
cardinal
/
test
'use strict'; /*jshint asi: true*/ var test = require('tap').test , path = require('path') , fs = require('fs') , themesdir = path.join(__dirname, '..', 'themes') , allFiles = fs.readdirSync(themesdir) test('validate themes by requiring all of them', function (t) { allFiles .filter(function (file) { return path.extname(file) === '.js'; }) .forEach(function (theme) { try { t.ok(require(path.join(themesdir, theme)), theme + ' is valid') } catch (e) { t.fail('theme: ' + theme + ' is invalid! ' + e.message) } }) t.end() })
[-] cardinal-highlight-json-file-async.js
[edit]
[-] cardinal-highlight-git-diff.js
[edit]
[-] cardinal-highlight-file-async.js
[edit]
[-] cardinal-highlight-string.js
[edit]
[-] cardinal-highlight-json-file-sync.js
[edit]
[+]
..
[-] cardinal-highlight-diff-spike.js
[edit]
[-] themes.js
[edit]
[-] settings.js
[edit]
[-] cardinal-highlight-file-sync.js
[edit]
[-] cardinal-highlight-block-comment.js
[edit]
[-] cardinal-smoke.js
[edit]
[+]
fixtures
[-] cardinal-highlight-json.js
[edit]