test_that("tracks returns a JSON array as a string", {
expect_type(tracks("foo"), "character")
expect_true(stringr::str_starts(tracks("foo"), "\\["))
expect_true(stringr::str_ends(tracks("foo"), "\\]"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.