packages/ui/test/ui.test.js
Metadata
- Purpose: Shared UI package for reusable design primitives/components.
- Domain:
shared-packages - Language:
js - Bytes: 389
- Lines: 13
- Content hash (short):
4bea4ed6 - Source (start): packages/ui/test/ui.test.js:1
- Source (end): packages/ui/test/ui.test.js:13
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('ui package exports index file', () => {
const file = path.resolve(currentDir, '../src/index.ts');
assert.equal(fs.existsSync(file), true);
});