fix(tests): resolve 4 failing tests across cli and dashboard packages
- task.test.ts: save/delete GITHUB_REPOSITORY env before runTaskPrCreate fallback test so CI env doesn't bypass the getCurrentRepo code path - app.test.tsx: increase waitForFrameContains timeout for ASCII QR render from 3s to 6s to accommodate slower CI environments - remote-auth.test.ts: switch createRemoteSettings default from tailscale to cloudflare with a static ingressUrl so resolveRemoteBaseUrl doesn't 409 when no tunnel is running Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,20 +14,20 @@ import {
|
||||
|
||||
function createRemoteSettings(overrides: Partial<RemoteAccessProjectSettings> = {}): RemoteAccessProjectSettings {
|
||||
return {
|
||||
activeProvider: "tailscale",
|
||||
activeProvider: "cloudflare",
|
||||
providers: {
|
||||
tailscale: {
|
||||
enabled: true,
|
||||
hostname: "tail.example.ts.net",
|
||||
enabled: false,
|
||||
hostname: "",
|
||||
targetPort: 4040,
|
||||
acceptRoutes: false,
|
||||
},
|
||||
cloudflare: {
|
||||
enabled: false,
|
||||
enabled: true,
|
||||
quickTunnel: false,
|
||||
tunnelName: "",
|
||||
tunnelToken: null,
|
||||
ingressUrl: "",
|
||||
ingressUrl: "https://demo.trycloudflare.com",
|
||||
},
|
||||
},
|
||||
tokenStrategy: {
|
||||
|
||||
Reference in New Issue
Block a user