Watch history has video info (#524)

* Watch history has video info

* Lint fix

* Fix upcoming in watch history

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2024-12-26 13:14:59 -05:00
1 parent 1e28ee4e27
commit 83f867a21c
12 files changed
+239 -26

No files matched your search

@@ -0,0 +1,27 @@
namespace Tests
@SGNode("InnertubeTestNode")
@suite
class NextParamsTests extends Rooibos.BaseTestSuite
@describe("NextParams")
@it("Encodes next params")
function _()
testCases = m.GetEncodingTestCases()
for each testCase in testCases
encoded = m.top@.Innertube_GetEncodedNextParams(testCase.input)
m.assertEqual(encoded, testCase.encoded)
end for
end function
function GetEncodingTestCases() as object
return [{
input: ["jNQXAC9IVRw", "9bZkp7q19f0"]
encoded: "KgtqTlFYQUM5SVZSdyoLOWJaa3A3cTE5ZjA%3D"
}]
end function
end class
end namespace
@@ -1,6 +1,6 @@
namespace Tests
@SGNode("SearchFiltersTestNode")
@SGNode("InnertubeTestNode")
@suite
class SearchFiltersTests extends Rooibos.BaseTestSuite