test_that("live scoring returns 1 row per team", {
l <- live_scoring(leagueId = "42654852", yetToPlay = TRUE, bonusWin = TRUE)
skip_empty(l)
expect_s3_class(l, "data.frame")
# expect_true("toPlay" %in% names(l))
expect_length(l, 8)
expect_equal(nrow(l), 4)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.