2017-06-29 09:47:09 +02:00
|
|
|
'use strict'
|
|
|
|
const test = require('tape')
|
|
|
|
const path = require('path')
|
|
|
|
const dataPath = path.resolve(__dirname, '..', 'data')
|
|
|
|
|
2017-06-29 10:08:52 +02:00
|
|
|
const specs = ['rt.invalid', 'rt.valid', 'rt-html-valid', 'utils', 'shell', 'rtStyle', 'fsUtil']
|
2017-06-29 09:47:09 +02:00
|
|
|
|
|
|
|
specs
|
|
|
|
.map(file => require(`./${file}.spec`))
|
|
|
|
.forEach(spec => spec.runTests(test, dataPath))
|