StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/cardinal/test/themes.js

22 lines
608 B

'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()
})