mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 02:28:30 +08:00
15 lines
409 B
TypeScript
15 lines
409 B
TypeScript
import { e2eDir, isMainModule, runForegroundProcess } from './common'
|
|
import './env-register'
|
|
|
|
const defaultExternalRuntimeTags = '@external-model or @external-tool'
|
|
|
|
const main = async () => {
|
|
await runForegroundProcess({
|
|
command: 'npx',
|
|
args: ['tsx', './scripts/run-cucumber.ts', '--', '--tags', defaultExternalRuntimeTags],
|
|
cwd: e2eDir,
|
|
})
|
|
}
|
|
|
|
if (isMainModule(import.meta.url)) void main()
|