test: rename confusing tests

This commit is contained in:
WebStreamr 2025-06-07 19:10:06 +00:00
parent a56aea56a8
commit 5bda4c88f0
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -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) => {

View file

@ -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",