mirror of
https://github.com/zenstackhq/zenstack
synced 2026-05-24 10:08:55 +00:00
* refactor: move e2e orm tests to e2e project, fix bundle issues * add missing package * include all tests * more fixes * update lockfile * extract policy plugin to its own package * fix lint * addressing review comments
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();
|
|
});
|
|
});
|