fix(channels): honor module loader native opt-out · openclaw/openclaw@f0a2b09
steipete
·
2026-05-01
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,7 +3,6 @@ import os from "node:os";
|
3 | 3 | import path from "node:path"; |
4 | 4 | import { importFreshModule } from "openclaw/plugin-sdk/test-fixtures"; |
5 | 5 | import { afterEach, describe, expect, it, vi } from "vitest"; |
6 | | -import { shouldExpectNativeJitiForJavaScriptTestRuntime } from "../../test-utils/jiti-runtime.js"; |
7 | 6 | import { |
8 | 7 | isJavaScriptModulePath, |
9 | 8 | resolveCompiledBundledModulePath, |
@@ -122,7 +121,7 @@ describe("channel plugin module loader helpers", () => {
|
122 | 121 | expect(createJiti).toHaveBeenCalledWith( |
123 | 122 | expect.any(String), |
124 | 123 | expect.objectContaining({ |
125 | | -tryNative: shouldExpectNativeJitiForJavaScriptTestRuntime(), |
| 124 | +tryNative: false, |
126 | 125 | }), |
127 | 126 | ); |
128 | 127 | } finally { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。