mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-13 17:47:17 +09:00
[Test] Better sample
This commit is contained in:
parent
6c51d8cdc2
commit
7e3c650df2
@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:title" content="KISS principle">
|
||||
<meta property="og:title" content="Strawberry Pasta">
|
||||
<title>YEE HAW</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -30,7 +30,7 @@ describe('OGP', () => {
|
||||
});
|
||||
server.listen(80, async () => {
|
||||
const summary = await summaly('http://localhost');
|
||||
assert.equal(summary.title, 'KISS principle');
|
||||
assert.equal(summary.title, 'Strawberry Pasta');
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user