mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
12 lines
424 B
TypeScript
12 lines
424 B
TypeScript
import { generateTsSchema } from '@zenstackhq/testtools';
|
|
import fs from 'node:fs';
|
|
import path from 'node:path';
|
|
import { describe, expect, it } from 'vitest';
|
|
|
|
describe('Trigger.dev e2e tests', () => {
|
|
it('has a working schema', async () => {
|
|
await expect(
|
|
generateTsSchema(fs.readFileSync(path.join(__dirname, 'schema.zmodel'), 'utf8'), 'postgresql'),
|
|
).resolves.toBeTruthy();
|
|
});
|
|
});
|