mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
9 lines
299 B
TypeScript
9 lines
299 B
TypeScript
import fs from 'fs';
|
|
import path from 'path';
|
|
|
|
export default function globalSetup() {
|
|
if (!fs.existsSync(path.join(__dirname, '../.test/scaffold/package-lock.json'))) {
|
|
console.error(`Test scaffold not found. Please run \`pnpm test-scaffold\` first.`);
|
|
process.exit(1);
|
|
}
|
|
}
|