Skip to content

Commit

Permalink
id tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed May 14, 2021
1 parent 38d0da3 commit f67af23
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test/manifest.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,27 @@ QUnit.module('manifest', function() {
'1-placeholder-uri-AUDIO-default-es',
'added placeholder with index uri'
);

assert.equal(
groups.en.playlists[0].id,
'0-placeholder-uri-AUDIO-default-en',
'added placeholder id with index'
);
assert.equal(
groups.en.playlists[1].id,
'1-placeholder-uri-AUDIO-default-en',
'added placeholder id with index'
);
assert.equal(
groups.es.playlists[0].id,
'0-placeholder-uri-AUDIO-default-es',
'added placeholder id with index'
);
assert.equal(
groups.es.playlists[1].uri,
'1-placeholder-uri-AUDIO-default-es',
'added placeholder with index id'
);
});

QUnit.test('adds resolvedUri for media group URIs', function(assert) {
Expand Down

0 comments on commit f67af23

Please sign in to comment.