diff options
Diffstat (limited to 'src/components/topic/topic.test.js')
| -rw-r--r-- | src/components/topic/topic.test.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/topic/topic.test.js b/src/components/topic/topic.test.js index 83eeba3..ca1abfb 100644 --- a/src/components/topic/topic.test.js +++ b/src/components/topic/topic.test.js @@ -105,6 +105,14 @@ describe('Topic component', () => { .toBeVisible(); }); + test('Should send index and countt to posts', () => { + + expect(internals.results.getByTitle('Post 1 of 2 by past_user')) + .toBeVisible(); + expect(internals.results.getByTitle('Post 2 of 2 by future_user')) + .toBeVisible(); + }); + describe('Forum link', () => { test('Should show forum if the post has one', () => { |