Files
interfaces/test/test.node.ts
T

23 lines
630 B
TypeScript
Raw Normal View History

import { tap } from '@git.zone/tstest/tapbundle';
import * as interfaces from '../ts/index.js';
tap.test('exports public namespaces', async () => {
if (!interfaces.data) {
throw new Error('Missing data namespace');
}
if (!interfaces.requests) {
throw new Error('Missing requests namespace');
}
2026-04-28 12:08:44 +00:00
if (!interfaces.requests.platform) {
throw new Error('Missing platform request namespace');
}
2026-04-28 11:17:07 +00:00
if (!interfaces.platform) {
throw new Error('Missing platform namespace');
}
if (!interfaces.platformservice) {
throw new Error('Missing platformservice namespace');
}
});
export default tap.start();