Add method to test m3u8s directly against expected JSON output
There are a ton of tests in m3u8_test.js currently and it's getting a bit difficult to manage. Instead of hand-writing checks for each property of the parsed output, automatically convert manifests to javscript strings during the build process and then compare the parse of that string against a JSON file with the same name.
Showing
4 changed files
with
194 additions
and
4 deletions
test/manifest/playlist.json
0 → 100644
-
Please register or sign in to post a comment