videojs / m3u8-parser

An m3u8 parser.
Other
473 stars 98 forks source link

test: move tests around #129

Closed brandonocasey closed 3 years ago

brandonocasey commented 3 years ago
  1. Moved unit tests that test different parts of the m3u8-parser into different files
  2. Moved .json files to .js files as most of these files use js syntax
  3. Moved all integration fixtures from test/fixtures/m3u8 to test/fixtures/integration as js/m3u8 files are stored there.
  4. Split Parser tests into a few modules, where relevant.
  5. Made Parser tests reuse this.parser
  6. Removed a few manifests that were not being used, and added Error checks to make sure that all manifests are being checked.
  7. Made sure to call this.parser.end() in all parser tests No tests were harmed in the making of this pull request.
gkatsev commented 3 years ago

No tests were harmed in the making of this pull request.

😂