Files: b817a22329dc2038d6896282542635e15961b37b / app / spec.js
227 bytesRaw
1 | const ava = require('ava/api') |
2 | const glob = require('glob') |
3 | |
4 | glob('{spec/*.js,*/spec.js,*/spec/*.js}', { cwd: __dirname }, function (err, files) { |
5 | if (err) { throw err } |
6 | |
7 | if (files.length > 0) { |
8 | ava(files).run() |
9 | } |
10 | }) |
11 |
Built with git-ssb-web