Skip to content

Commit

Permalink
update test case titles to be more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
ssreed committed Feb 28, 2018
1 parent 6114715 commit 30b7fdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/unit/controller/eme-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('EMEController', () => {

});

it('should trigger key system error', (done) => {
it('should trigger key system error when bad encrypted data is received', (done) => {

let reqMediaKsAccessSpy = sinon.spy(() => {
return Promise.resolve({
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/controller/level-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('LevelController', () => {
levelController = null;
});

it('should trigger an error', () => {
it('should trigger an error when no levels are found in the manifest', () => {

levelController.onManifestLoaded({
audioTracks: [],
Expand All @@ -36,7 +36,7 @@ describe('LevelController', () => {

});

it('should trigger hlsManifestParsed', () => {
it('should trigger hlsManifestParsed when levels are found in the manifest', () => {

let data = {
audioTracks: [],
Expand All @@ -63,7 +63,7 @@ describe('LevelController', () => {

});

it('should trigger level switch', () => {
it('should trigger level switch when level is manually set', () => {

let data = {
audioTracks: [],
Expand Down

0 comments on commit 30b7fdd

Please sign in to comment.