summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2022-11-05 18:56:35 +0100
committerSamantaz Fox <coding@samantaz.fr>2022-12-22 16:13:26 +0100
commitce7db8d2cb87111af15de2de9faf12aae38283bb (patch)
tree324cd74d5c1e0142bcbfbcc80bfff9653307783a /spec
parentbdc51cd20fd2df99c2fe5ddc281aada86000a783 (diff)
downloadinvidious-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.cr4
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)