Skip to main content

apps/web/test/web.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('web app has root page', () => {
const file = path.resolve(currentDir, '../app/page.tsx');
assert.equal(fs.existsSync(file), true);
});