(dir, opts)
| 6 | const $ = require('shelljs'); |
| 7 | |
| 8 | function sort(dir, opts) { |
| 9 | opts = opts || {}; |
| 10 | opts.options = opts.options || {}; |
| 11 | try { |
| 12 | return cash.sort(dir, opts); |
| 13 | } catch (e) { |
| 14 | console.log(e); |
| 15 | throw new Error(e); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | describe('sort', function () { |
| 20 | before(function (done) { |