@@ -43,42 +43,42 @@ describe("windsurf", async () => {
4343 const state = await runTerraformApply ( import . meta. dir , {
4444 agent_id : "foo" ,
4545 folder : "/foo/bar" ,
46- open_recent : " true" ,
46+ open_recent : true ,
4747 } ) ;
48- expect ( state . outputs . cursor_url . value ) . toBe (
49- "cursor ://coder.coder-remote/open?owner=default&workspace=default&folder=/foo/bar&openRecent&url=https://mydeployment.coder.com&token=$SESSION_TOKEN" ,
48+ expect ( state . outputs . windsurf_url . value ) . toBe (
49+ "windsurf ://coder.coder-remote/open?owner=default&workspace=default&folder=/foo/bar&openRecent&url=https://mydeployment.coder.com&token=$SESSION_TOKEN" ,
5050 ) ;
5151 } ) ;
5252
5353 it ( "adds folder but not open_recent" , async ( ) => {
5454 const state = await runTerraformApply ( import . meta. dir , {
5555 agent_id : "foo" ,
5656 folder : "/foo/bar" ,
57- openRecent : " false" ,
57+ open_recent : false ,
5858 } ) ;
59- expect ( state . outputs . cursor_url . value ) . toBe (
60- "cursor ://coder.coder-remote/open?owner=default&workspace=default&folder=/foo/bar&url=https://mydeployment.coder.com&token=$SESSION_TOKEN" ,
59+ expect ( state . outputs . windsurf_url . value ) . toBe (
60+ "windsurf ://coder.coder-remote/open?owner=default&workspace=default&folder=/foo/bar&url=https://mydeployment.coder.com&token=$SESSION_TOKEN" ,
6161 ) ;
6262 } ) ;
6363
6464 it ( "adds open_recent" , async ( ) => {
6565 const state = await runTerraformApply ( import . meta. dir , {
6666 agent_id : "foo" ,
67- open_recent : " true" ,
67+ open_recent : true ,
6868 } ) ;
69- expect ( state . outputs . cursor_url . value ) . toBe (
70- "cursor ://coder.coder-remote/open?owner=default&workspace=default&openRecent&url=https://mydeployment.coder.com&token=$SESSION_TOKEN" ,
69+ expect ( state . outputs . windsurf_url . value ) . toBe (
70+ "windsurf ://coder.coder-remote/open?owner=default&workspace=default&openRecent&url=https://mydeployment.coder.com&token=$SESSION_TOKEN" ,
7171 ) ;
7272 } ) ;
7373
7474 it ( "expect order to be set" , async ( ) => {
7575 const state = await runTerraformApply ( import . meta. dir , {
7676 agent_id : "foo" ,
77- order : "22" ,
77+ order : 22 ,
7878 } ) ;
7979
8080 const coder_app = state . resources . find (
81- ( res ) => res . type === "coder_app" && res . name === "cursor " ,
81+ ( res ) => res . type === "coder_app" && res . name === "windsurf " ,
8282 ) ;
8383
8484 expect ( coder_app ) . not . toBeNull ( ) ;
0 commit comments