File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,18 +32,6 @@ if [ -f src/agents/shell-utils.ts ]; then
3232 fi
3333fi
3434
35- # The canvas-auth test was renamed from .e2e.test.ts to .test.ts upstream,
36- # bringing it into the gateway vitest suite for the first time. It expects
37- # A2UI assets (a2ui.bundle.js) on disk, but the Nix test build doesn't run
38- # canvas:a2ui:bundle. Relax the assertion to accept 503 (assets not found)
39- # until the test build is expanded to produce the bundle.
40- # Tracked in: https://github.com/openclaw/nix-openclaw/issues/64
41- if [ -f src/gateway/server.canvas-auth.test.ts ]; then
42- if grep -q ' scopedA2ui\.status.*toBe(200)' src/gateway/server.canvas-auth.test.ts; then
43- sed -i ' s/expect(scopedA2ui\.status)\.toBe(200)/expect(scopedA2ui.status).toBe(503)/' src/gateway/server.canvas-auth.test.ts
44- fi
45- fi
46-
4735if [ -f src/docker-setup.test.ts ]; then
4836 if ! grep -q " #!/bin/sh" src/docker-setup.test.ts; then
4937 sed -i ' s|#!/usr/bin/env bash|#!/bin/sh|' src/docker-setup.test.ts
You can’t perform that action at this time.
0 commit comments