Skip to content

Commit

Permalink
chore: remove openapi test
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Aug 20, 2024
1 parent 3500f75 commit 92e2cba
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions client/tests/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import { toOpenAPI } from 'aspida2openapi';
import { readFileSync } from 'fs';
import { join } from 'path';
import { staticPath } from 'utils/$path';
import { expect, test } from 'vitest';

test('check OpenAPI diff', () => {
const openapi = join('./public', staticPath.docs.openapi_json);
const generated = toOpenAPI({ input: 'api', template: openapi });

expect(generated).toBe(readFileSync(openapi, 'utf8'));
test('default', () => {
expect(true).toBeTruthy();
});

0 comments on commit 92e2cba

Please sign in to comment.