magjac / d3-graphviz

Graphviz DOT rendering and animated transitions using D3
BSD 3-Clause "New" or "Revised" License
1.67k stars 103 forks source link

Remove tape shim #272

Closed magjac closed 1 year ago

magjac commented 1 year ago

This ports all tests to use NodeJS assert directly instead of through the tape shim that was temporarily used during porting of the tests to ESM in https://github.com/magjac/d3-graphviz/pull/242. It also refactors all tests to use async and await Promises using a thin wrapper of Mocha's it which catches assertion errors to avoid hanging tests.

codecov[bot] commented 1 year ago

Codecov Report

Merging #272 (b03bf97) into master (21a1f57) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #272   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           39        39           
  Lines         2282      2282           
=========================================
  Hits          2282      2282           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.