@@ -42,8 +42,10 @@ describe("SEO metadata helpers", () => {
4242
4343 expect ( englishSlugs ) . toContain ( "cmux-omo" ) ;
4444 expect ( englishSlugs ) . toContain ( "gpl" ) ;
45+ expect ( englishSlugs ) . toContain ( "cmux-claude-teams" ) ;
4546 expect ( japaneseSlugs ) . not . toContain ( "cmux-omo" ) ;
4647 expect ( japaneseSlugs ) . not . toContain ( "gpl" ) ;
48+ expect ( japaneseSlugs ) . not . toContain ( "cmux-claude-teams" ) ;
4749 } ) ;
4850
4951 test ( "keeps canonical URLs locale-aware" , ( ) => {
@@ -763,7 +765,11 @@ describe("SEO middleware", () => {
763765 } ) ;
764766
765767 test ( "canonicalizes English-only blog posts" , ( ) => {
766- for ( const canonicalPath of [ "/blog/cmux-omo" , "/blog/gpl" ] ) {
768+ for ( const canonicalPath of [
769+ "/blog/cmux-claude-teams" ,
770+ "/blog/cmux-omo" ,
771+ "/blog/gpl" ,
772+ ] ) {
767773 const localized = middleware (
768774 requestFor ( `/ja${ canonicalPath } ` , { "accept-language" : "ja" } ) ,
769775 ) ;
@@ -786,9 +792,13 @@ describe("SEO middleware", () => {
786792 const urls = sitemap ( )
787793 . map ( ( entry ) => entry . url )
788794 . filter (
789- ( url ) => url . endsWith ( "/blog/cmux-omo" ) || url . endsWith ( "/blog/gpl" ) ,
795+ ( url ) =>
796+ url . endsWith ( "/blog/cmux-claude-teams" ) ||
797+ url . endsWith ( "/blog/cmux-omo" ) ||
798+ url . endsWith ( "/blog/gpl" ) ,
790799 ) ;
791800 expect ( urls ) . toEqual ( [
801+ "https://cmux.com/blog/cmux-claude-teams" ,
792802 "https://cmux.com/blog/cmux-omo" ,
793803 "https://cmux.com/blog/gpl" ,
794804 ] ) ;
0 commit comments