test: rename confusing tests
This commit is contained in:
parent
a56aea56a8
commit
5bda4c88f0
2 changed files with 4 additions and 4 deletions
|
|
@ -17,12 +17,12 @@ describe('Frembed', () => {
|
|||
expect(streams).toHaveLength(0);
|
||||
});
|
||||
|
||||
test('handle imdb black mirror s4e2 via imdb', async () => {
|
||||
test('handle imdb black mirror s4e2', async () => {
|
||||
const streams = (await handler.handle(ctx, 'series', 'tt2085059:4:2')).filter(stream => stream !== undefined);
|
||||
expect(streams).toMatchSnapshot();
|
||||
});
|
||||
|
||||
test('handle imdb black mirror s4e2 via tmdb', async () => {
|
||||
test('handle tmdb black mirror s4e2', async () => {
|
||||
const streams = (await handler.handle(ctx, 'series', '42009:4:2')).filter(stream => stream !== undefined);
|
||||
|
||||
const streamsWithoutTtl = streams.map((stream) => {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Frembed handle imdb black mirror s4e2 via imdb 1`] = `
|
||||
exports[`Frembed handle imdb black mirror s4e2 1`] = `
|
||||
[
|
||||
{
|
||||
"label": "DoodStream",
|
||||
|
|
@ -51,7 +51,7 @@ exports[`Frembed handle imdb black mirror s4e2 via imdb 1`] = `
|
|||
]
|
||||
`;
|
||||
|
||||
exports[`Frembed handle imdb black mirror s4e2 via tmdb 1`] = `
|
||||
exports[`Frembed handle tmdb black mirror s4e2 1`] = `
|
||||
[
|
||||
{
|
||||
"label": "DoodStream",
|
||||
|
|
|
|||
Loading…
Reference in a new issue