Skip to content

Commit

Permalink
ignore test data file in istanbul
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed Jun 16, 2020
1 parent 7ef60bc commit e813a49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/generate-formats.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ const containerCodecs = {

return c;
}),
// TODO: should webm support more content types??
webm: buildCodecs((c) => {
if (c.videoCodec && !(/^(av01|vp8|vp09|vp9)/).test(c.videoCodec)) {
return null;
Expand Down
2 changes: 2 additions & 0 deletions scripts/create-test-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const buildFormatsString = function() {
}, []);

const formatFile =
'/* istanbul ignore file */\n' +
'\n' +
`import base64ToUint8Array from "${path.resolve(baseDir, 'src/decode-b64-to-uint8-array.js')}";\n` +
'const cache = {};\n' +
'const formatFiles = {};\n' +
Expand Down

0 comments on commit e813a49

Please sign in to comment.