Skip to content

Commit

Permalink
[test] update tests cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Levin committed Nov 6, 2023
1 parent 04c582f commit 56ecbcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/fetcher.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ describe('Fetcher', () => {
});
});

describe('removeURLTemplateFilter', () => {
describe('removeLastUrlTemplateFilter', () => {
it('remove the last element of the URLTemplateFilters array', () => {
fetcher.removeURLTemplateFilter();
fetcher.removeLastURLTemplateFilter();
expect(fetcher.URLTemplateFilters.length).toBe(0);
});
});
Expand Down
2 changes: 1 addition & 1 deletion spec/vast_parser.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ describe('VASTParser', () => {
});

beforeEach(() => {
VastParser = new VASTParser();
vastClient = new VASTClient();
fetcher = new Fetcher();
VastParser = new VASTParser({ fetcher });
jest.spyOn(VastParser, 'emit');
});

Expand Down

0 comments on commit 56ecbcc

Please sign in to comment.