zenstack/tests/e2e/github-repos/trigger.dev/trigger-dev.test.ts
Yiming Cao 411524404e
refactor: move e2e orm tests to e2e project, fix bundle issues (#285)
* 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
2025-10-03 21:06:19 -07:00

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();
});
});