feat: complete server-backed six-lesson app and trial tooling
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { spawnSync } from 'node:child_process'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { dirname, join } from 'node:path'
|
||||
|
||||
const here = dirname(fileURLToPath(import.meta.url))
|
||||
const root = join(here, '..')
|
||||
process.env.TSX_TSCONFIG_PATH = join(root, 'tsconfig.test.json')
|
||||
|
||||
const result = spawnSync(
|
||||
process.execPath,
|
||||
['--import', 'tsx', '--test', '--test-reporter=spec', join(here, 'session-sync.test.ts')],
|
||||
{ cwd: root, stdio: 'inherit', env: process.env },
|
||||
)
|
||||
|
||||
process.exit(result.status ?? 1)
|
||||
Reference in New Issue
Block a user