Skip to content

Commit

Permalink
test for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih committed Nov 11, 2024
1 parent 1b541a1 commit 16f65a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ test('basic', async () => {
test('Stage Bye Stage', async () => {
// If this test fails, you must rewrite the result data and the example in README.md.

const summary = await summaly('https://www.youtube.com/watch?v=NMIEAhH_fTU');
const summary = await summaly('https://www.youtube.com/watch?v=NMIEAhH_fTU', {
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36',
});
expect(summary).toEqual(
{
'title': '【アイドルマスター】「Stage Bye Stage」(歌:島村卯月、渋谷凛、本田未央)',
Expand Down

0 comments on commit 16f65a2

Please sign in to comment.