diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2022-11-05 18:56:35 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2022-12-22 16:13:26 +0100 |
| commit | ce7db8d2cb87111af15de2de9faf12aae38283bb (patch) | |
| tree | 324cd74d5c1e0142bcbfbcc80bfff9653307783a /spec | |
| parent | bdc51cd20fd2df99c2fe5ddc281aada86000a783 (diff) | |
| download | invidious-ce7db8d2cb87111af15de2de9faf12aae38283bb.tar.gz invidious-ce7db8d2cb87111af15de2de9faf12aae38283bb.tar.bz2 invidious-ce7db8d2cb87111af15de2de9faf12aae38283bb.zip | |
extractors: Add continuation token parser
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/invidious/hashtag_spec.cr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/invidious/hashtag_spec.cr b/spec/invidious/hashtag_spec.cr index 77676878..266ec57b 100644 --- a/spec/invidious/hashtag_spec.cr +++ b/spec/invidious/hashtag_spec.cr @@ -4,7 +4,7 @@ Spectator.describe Invidious::Hashtag do it "parses richItemRenderer containers (test 1)" do # Enable mock test_content = load_mock("hashtag/martingarrix_page1") - videos = extract_items(test_content) + videos, _ = extract_items(test_content) expect(typeof(videos)).to eq(Array(SearchItem)) expect(videos.size).to eq(60) @@ -57,7 +57,7 @@ Spectator.describe Invidious::Hashtag do it "parses richItemRenderer containers (test 2)" do # Enable mock test_content = load_mock("hashtag/martingarrix_page2") - videos = extract_items(test_content) + videos, _ = extract_items(test_content) expect(typeof(videos)).to eq(Array(SearchItem)) expect(videos.size).to eq(60) |
