Skip to content

Commit

Permalink
Tests: Improve fetch gist test to increase coverage (anuraghazra#3107)
Browse files Browse the repository at this point in the history
* Tests: Improve fetch gist test to increase coverage

* dev
  • Loading branch information
qwerty541 authored and setdebarr committed Jan 12, 2024
1 parent b91c920 commit f299b40
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion tests/fetchGist.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,27 @@ const gist_data = {
},
size: 85858,
},
{
name: "territories.txt",
language: {
name: "Text",
},
size: 87858,
},
{
name: "countries_spanish.json",
language: {
name: "JSON",
},
size: 85858,
},
{
name: "territories_spanish.txt",
language: {
name: "Text",
},
size: 87858,
},
],
},
},
Expand Down Expand Up @@ -56,7 +77,7 @@ describe("Test fetchGist", () => {
nameWithOwner: "Yizack/countries.json",
description:
"List of countries and territories in English and Spanish: name, continent, capital, dial code, country codes, TLD, and area in sq km. Lista de países y territorios en Inglés y Español: nombre, continente, capital, código de teléfono, códigos de país, dominio y área en km cuadrados. Updated 2023",
language: "JSON",
language: "Text",
starsCount: 33,
forksCount: 11,
});
Expand Down

0 comments on commit f299b40

Please sign in to comment.