diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-08 23:05:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-08 23:05:41 +0900 |
| commit | 87d3a06dcd6a76120789c050dd6a0c7111bf7224 (patch) | |
| tree | ec0035b3284c30459033e97fbdc986b5cb5cf430 /test | |
| parent | Update CHANGELOG.md (diff) | |
| download | sharkey-87d3a06dcd6a76120789c050dd6a0c7111bf7224.tar.gz sharkey-87d3a06dcd6a76120789c050dd6a0c7111bf7224.tar.bz2 sharkey-87d3a06dcd6a76120789c050dd6a0c7111bf7224.zip | |
revert rename
Diffstat (limited to 'test')
| -rw-r--r-- | test/streaming.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/streaming.ts b/test/streaming.ts index 74a5aaa0b4..7594728618 100644 --- a/test/streaming.ts +++ b/test/streaming.ts @@ -381,11 +381,11 @@ describe('Streaming', () => { })); }); - describe('Social Timeline', () => { + describe('Hybrid Timeline', () => { it('自分の投稿が流れる', () => new Promise(async done => { const me = await signup(); - const ws = await connectStream(me, 'socialTimeline', ({ type, body }) => { + const ws = await connectStream(me, 'hybridTimeline', ({ type, body }) => { if (type == 'note') { assert.deepStrictEqual(body.userId, me.id); ws.close(); @@ -402,7 +402,7 @@ describe('Streaming', () => { const alice = await signup({ username: 'alice' }); const bob = await signup({ username: 'bob' }); - const ws = await connectStream(alice, 'socialTimeline', ({ type, body }) => { + const ws = await connectStream(alice, 'hybridTimeline', ({ type, body }) => { if (type == 'note') { assert.deepStrictEqual(body.userId, bob.id); ws.close(); @@ -422,7 +422,7 @@ describe('Streaming', () => { // Alice が Bob をフォロー await follow(alice, bob); - const ws = await connectStream(alice, 'socialTimeline', ({ type, body }) => { + const ws = await connectStream(alice, 'hybridTimeline', ({ type, body }) => { if (type == 'note') { assert.deepStrictEqual(body.userId, bob.id); ws.close(); @@ -441,7 +441,7 @@ describe('Streaming', () => { let fired = false; - const ws = await connectStream(alice, 'socialTimeline', ({ type, body }) => { + const ws = await connectStream(alice, 'hybridTimeline', ({ type, body }) => { if (type == 'note') { fired = true; } @@ -467,7 +467,7 @@ describe('Streaming', () => { userId: bob.id }, alice); - const ws = await connectStream(alice, 'socialTimeline', ({ type, body }) => { + const ws = await connectStream(alice, 'hybridTimeline', ({ type, body }) => { if (type == 'note') { assert.deepStrictEqual(body.userId, bob.id); assert.deepStrictEqual(body.text, 'foo'); @@ -490,7 +490,7 @@ describe('Streaming', () => { let fired = false; - const ws = await connectStream(alice, 'socialTimeline', ({ type, body }) => { + const ws = await connectStream(alice, 'hybridTimeline', ({ type, body }) => { if (type == 'note') { fired = true; } |