unifiedjs / unified-engine

Engine to process multiple files with unified
https://unifiedjs.com
MIT License
56 stars 23 forks source link

Make testsuite windows compatible #36

Closed StarpTech closed 5 years ago

StarpTech commented 5 years ago

First attempt to fix issues to run tests on windows

Outstanding issues:

should fail when writing to non-existent dirs
not ok 94 should report
  ---
    operator: deepEqual
    expected: |-
      [ null, 1, 'one.txt\n  1:1  error  Error: Cannot read output directory. Error:' ]
    actual: |-
      [ null, 1, 'one.txt\n  1:1  error  Error: Cannot write multiple files to single output: D:\\Repositories\\unified-engine\\test\\fixtures\\two-files\\three' ]
    at: onrun (D:\Repositories\unified-engine\test\output.js:471:10)
    stack: |-