Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
374 B
Text
14 lines
374 B
Text
import { spawnSync } from 'child_process'
|
|
|
|
const out = spawnSync(process.execPath,
|
|
['--import', './test/fixtures/import-absolute.mjs', './test/fixtures/import-absolute-after.mjs'],
|
|
{ stdio: 'inherit', env: {} }
|
|
)
|
|
|
|
if (out.error) {
|
|
console.error(out.error)
|
|
}
|
|
if (out.status !== 0) {
|
|
console.error(`Expected exit code 0, got ${out.status}`)
|
|
}
|
|
process.exit(out.status)
|