mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
fix(docker): expose QA harness exports for package Telegram
This commit is contained in:
@@ -230,6 +230,8 @@ ln -sfnT "$openclaw_package_dir" /app/node_modules/openclaw
|
||||
rm -rf /app/dist
|
||||
ln -sfnT "$openclaw_package_dir/dist" /app/dist
|
||||
cp "$openclaw_package_dir/package.json" /app/package.json
|
||||
rm -rf "$openclaw_package_dir/extensions"
|
||||
ln -sfnT /app/extensions "$openclaw_package_dir/extensions"
|
||||
node --input-type=module <<'NODE'
|
||||
import fs from "node:fs";
|
||||
|
||||
|
||||
@@ -60,6 +60,7 @@ describe("package Telegram live Docker E2E", () => {
|
||||
|
||||
expect(script).toContain('ln -sfnT "$openclaw_package_dir/dist" /app/dist');
|
||||
expect(script).toContain('cp "$openclaw_package_dir/package.json" /app/package.json');
|
||||
expect(script).toContain('ln -sfnT /app/extensions "$openclaw_package_dir/extensions"');
|
||||
expect(script).toContain('"/app/node_modules/openclaw/package.json"');
|
||||
expect(script).toContain('pkg.exports["./plugin-sdk/qa-channel"]');
|
||||
expect(script).toContain('"./extensions/qa-channel/api.ts"');
|
||||
|
||||
Reference in New Issue
Block a user