17 lines
443 B
TypeScript
17 lines
443 B
TypeScript
|
|
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');
|
||
|
|
}
|
||
|
|
if (!interfaces.platformservice) {
|
||
|
|
throw new Error('Missing platformservice namespace');
|
||
|
|
}
|
||
|
|
});
|
||
|
|
|
||
|
|
export default tap.start();
|