Skip to content

Commit

Permalink
fix: test output updated
Browse files Browse the repository at this point in the history
  • Loading branch information
juanbrujo authored Dec 27, 2023
1 parent 11bd096 commit 7590311
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test/torrent.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ test('Torrent de Titanic', async t => {

// test response messages of hubot
t.deepEqual(hubotMessage1, ['hubot', 'Esperando respuesta de YTS YIFY... :loading:'])
const text = `Encontradas 2 coincidencias:
<https://yts.mx/movie/titanic-1997|Titanic: año: 1997, rating: 7.8>
<https://yts.mx/movie/titanic-1953|Titanic: año: 1953, rating: 7.2>
Todos los resultados en *<https://yts.mx/browse-movies/titanic|yts.arg>*`
const text = `Encontradas 20 coincidencias:
<https://yts.mx/movies/titanic-25-years-later-with-james-cameron-2023|Titanic: 25 Years Later with James Cameron: año: 2023, rating: 6.5>
<https://yts.mx/movies/titanic-waltz-1965|Titanic Waltz: año: 1965, rating: 8.6>
<https://yts.mx/movies/the-blind-man-who-did-not-want-to-see-titanic-2021|The Blind Man Who Did Not Want to See Titanic: año: 2021, rating: 7.5>
<https://yts.mx/movies/titanic-666-2022|Titanic 666: año: 2022, rating: 3.2>
<https://yts.mx/movies/the-chambermaid-on-the-titanic-1997|The Chambermaid on the Titanic: año: 1997, rating: 6.6>
Todos los resultados en *<https://yts.ag/browse-movies/titanic|yts.arg>*`
t.deepEqual(hubotMessage2, ['hubot', text])
})

0 comments on commit 7590311

Please sign in to comment.