Bruno Rodrigues :rstats: :tux: on Nostr: #RStats Anyone has a working example of a unit testing where the internet connection ...
#RStats
Anyone has a working example of a unit testing where the internet connection is mocked to be down?
having some trouble understanding the relevant testthat documentation on it
Published at
2024-04-06 08:03:21Event JSON
{
"id": "b26559f84bc295f1def98110d42be0b88d5cc2d2e4fecd9aab4ddb84e832c1a5",
"pubkey": "c51a26d032e68ae319db01a70e2f9cb7c30f2d55a139e27b403cd94f6597f837",
"created_at": 1712390601,
"kind": 1,
"tags": [
[
"t",
"rstats"
],
[
"proxy",
"https://fosstodon.org/users/brodriguesco/statuses/112223230442963124",
"activitypub"
]
],
"content": "#RStats \n\nAnyone has a working example of a unit testing where the internet connection is mocked to be down?\n\nhaving some trouble understanding the relevant testthat documentation on it",
"sig": "60561b70fa3378d8e013444a1b9c3fe66179672d0840307443e16ce620283f79cd7d611b26471701e9754c822fbeeeee8f9ee21eed6f637e0dc118a3ba1e2caf"
}