diff --git a/test/src/seoTagsBuilder_test.js b/test/src/seoTagsBuilder_test.js index 3ef0a0bd..0efab4c6 100644 --- a/test/src/seoTagsBuilder_test.js +++ b/test/src/seoTagsBuilder_test.js @@ -346,6 +346,18 @@ describe('seoTagsBuilder', () => { it('returns seo title', () => { expect(titleValue()).to.eq('SEO title'); }); + + context('with title suffix', () => { + beforeEach(() => { + globalSeo = memo(() => camelizeKeys({ + title_suffix: ' - Suffix!', + })); + }); + + it('returns seo title with suffix', () => { + expect(titleValue()).to.eq('SEO title - Suffix!'); + }); + }); }); }); });