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