17 lines
1.5 KiB
Text
17 lines
1.5 KiB
Text
|
|
|
||
|
|
> backend@1.0.0 test:integration
|
||
|
|
> node scripts/integration-test.mjs
|
||
|
|
|
||
|
|
Integration test passed: API server is running and healthy
|
||
|
|
ReferenceError: require is not defined in ES module scope, you can use import instead
|
||
|
|
This file is being treated as an ES module because it has a '.js' file extension and '/home/openclaw/.openclaw/workspace/helpyourneighbour/backend/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
|
||
|
|
at file:///home/openclaw/.openclaw/workspace/helpyourneighbour/backend/playwright.config.js:1:35
|
||
|
|
at ModuleJob.run (node:internal/modules/esm/module_job:343:25)
|
||
|
|
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:665:26)
|
||
|
|
at requireOrImport (/home/openclaw/.openclaw/workspace/helpyourneighbour/backend/node_modules/playwright/lib/transform/transform.js:223:12)
|
||
|
|
at loadUserConfig (/home/openclaw/.openclaw/workspace/helpyourneighbour/backend/node_modules/playwright/lib/common/configLoader.js:107:46)
|
||
|
|
at loadConfig (/home/openclaw/.openclaw/workspace/helpyourneighbour/backend/node_modules/playwright/lib/common/configLoader.js:119:22)
|
||
|
|
at loadConfigFromFile (/home/openclaw/.openclaw/workspace/helpyourneighbour/backend/node_modules/playwright/lib/common/configLoader.js:331:10)
|
||
|
|
at runTests (/home/openclaw/.openclaw/workspace/helpyourneighbour/backend/node_modules/playwright/lib/program.js:197:18)
|
||
|
|
at i.<anonymous> (/home/openclaw/.openclaw/workspace/helpyourneighbour/backend/node_modules/playwright/lib/program.js:70:7)
|