@@ -36,7 +36,9 @@ describe("developer-notify", () => {
3636 prUrl : "https://github.com/nexu-io/nexu/pull/10" ,
3737 } ) ;
3838
39- expect ( payload . card . header . title . content ) . toContain ( "又有新贡献者给 Nexu 提 PR" ) ;
39+ expect ( payload . card . header . title . content ) . toContain (
40+ "又有新贡献者给 Nexu 提 PR" ,
41+ ) ;
4042 expect ( payload . card . body . elements [ 0 ] ) . toMatchObject ( {
4143 tag : "markdown" ,
4244 content : expect . stringContaining ( "**Title:** fix: resolve login crash" ) ,
@@ -72,7 +74,9 @@ describe("developer-notify", () => {
7274 ) . toEqual ( [ "Good First Issue" , "贡献者指南" , "查看全部 Issue" ] ) ;
7375 expect ( payload . card . body . elements [ 2 ] ) . toMatchObject ( {
7476 tag : "markdown" ,
75- content : expect . stringContaining ( "只需 3 步💥:❶ 选任务 ❷ 认领 ❸ 提交 PR" ) ,
77+ content : expect . stringContaining (
78+ "只需 3 步💥:❶ 选任务 ❷ 认领 ❸ 提交 PR" ,
79+ ) ,
7680 } ) ;
7781 } ) ;
7882
@@ -81,7 +85,9 @@ describe("developer-notify", () => {
8185 issueUrl : "https://github.com/nexu-io/nexu/issues/99" ,
8286 } ) ;
8387
84- expect ( payload . card . header . title . content ) . toContain ( "刚新增 1 条 issue 等你来领取" ) ;
88+ expect ( payload . card . header . title . content ) . toContain (
89+ "刚新增 1 条 issue 等你来领取" ,
90+ ) ;
8591 expect ( payload . card . body . elements [ 1 ] ) . toMatchObject ( { tag : "column_set" } ) ;
8692 expect (
8793 payload . card . body . elements [ 1 ] . columns . map (
0 commit comments