test(reports): fix template literal comment
This commit is contained in:
@@ -18,7 +18,7 @@ function executeReadyReportExport() {
|
|||||||
import { Agent } from "@mastra/core/agent";
|
import { Agent } from "@mastra/core/agent";
|
||||||
|
|
||||||
const moduleUrl = (path) => pathToFileURL(process.cwd() + "/" + path).href;
|
const moduleUrl = (path) => pathToFileURL(process.cwd() + "/" + path).href;
|
||||||
// Node 22 ignores the unsupported `exports` mock option; keep the route aliases explicit.
|
// Node 22 ignores the unsupported exports mock option; keep the route aliases explicit.
|
||||||
mock.module("@/lib/personal-report-entitlement", { namedExports: {
|
mock.module("@/lib/personal-report-entitlement", { namedExports: {
|
||||||
checkSameOrigin: () => ({ ok: true }),
|
checkSameOrigin: () => ({ ok: true }),
|
||||||
resolveAllowedReportOrigins: () => [],
|
resolveAllowedReportOrigins: () => [],
|
||||||
|
|||||||
Reference in New Issue
Block a user