mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
* chore: fix telemetry env var for publish CI * update test and config * update * remove unused settings
14 lines
497 B
TypeScript
14 lines
497 B
TypeScript
import fs from 'node:fs';
|
|
import path from 'node:path';
|
|
import tmp from 'tmp';
|
|
import { describe, expect, it } from 'vitest';
|
|
import { runCli } from './utils';
|
|
|
|
// skipping due to timeout during CI
|
|
describe.skip('Cli init command tests', () => {
|
|
it('should create a new project', () => {
|
|
const { name: workDir } = tmp.dirSync({ unsafeCleanup: true });
|
|
runCli('init', workDir);
|
|
expect(fs.existsSync(path.join(workDir, 'zenstack/schema.zmodel'))).toBe(true);
|
|
});
|
|
});
|