Files: 51f5f8f504793351faa020ae6f5b8826c175aceb / 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