react-templates/test/src/test.js

11 lines
327 B
JavaScript

'use strict'
const test = require('tape')
const path = require('path')
const dataPath = path.resolve(__dirname, '..', 'data')
const specs = ['rt.invalid', 'rt.valid', 'rt-html-valid', 'utils', 'shell', 'rtStyle', 'fsUtil']
specs
.map(file => require(`./${file}.spec`))
.forEach(spec => spec.runTests(test, dataPath))