import test from 'ava';
import separate from './separate';
var cases = [{
  input: 'root/sub/file.js',
  output: {
    path: 'root/sub/',
    plain: 'file',
    ext: '.js',
    name: 'root/sub/file.js',
    moduleName: 'root/sub/file'
  }
}];
test('separate file path', function (t) {
  for (var _i = 0; _i < cases.length; _i++) {
    var _cases$_i = cases[_i],
        input = _cases$_i.input,
        output = _cases$_i.output;
    t.deepEqual(separate(input), output);
  }
});