mirror of
https://github.com/langgenius/dify.git
synced 2026-07-30 00:39:34 +08:00
24 lines
447 B
TypeScript
24 lines
447 B
TypeScript
import { e2eDir, isMainModule, runForegroundProcess } from './common'
|
|
import './env-register'
|
|
|
|
const preparedTags = '@prepared'
|
|
|
|
const main = async () => {
|
|
await runForegroundProcess({
|
|
command: 'npx',
|
|
args: [
|
|
'tsx',
|
|
'./scripts/run-cucumber.ts',
|
|
'--full',
|
|
'--profile',
|
|
'prepared',
|
|
'--',
|
|
'--tags',
|
|
preparedTags,
|
|
],
|
|
cwd: e2eDir,
|
|
})
|
|
}
|
|
|
|
if (isMainModule(import.meta.url)) void main()
|