Skip to main content

packages/contracts/test/contracts.test.js

Metadata

Indexed Symbols

No indexed functions/methods detected in this file.

Markdown Headings (if applicable)

No markdown headings detected.

Source Preview

import test from 'node:test';
import assert from 'node:assert/strict';
import fs from 'node:fs';
import path from 'node:path';
import { fileURLToPath } from 'node:url';

const currentDir = path.dirname(fileURLToPath(import.meta.url));

test('openapi spec file exists', () => {
const file = path.resolve(currentDir, '../src/openapi/openapi.yaml');
assert.equal(fs.existsSync(file), true);
});