smartlog/test/test.context.ts

9 lines
383 B
TypeScript
Raw Normal View History

import { expect, tap } from '@push.rocks/tapbundle';
import * as smartlogContext from '../ts_context/index.js';
tap.test('should correctly export strings from context module', async () => {
expect(typeof smartlogContext.standardExport).toEqual('string');
expect(smartlogContext.standardExport).toEqual('Hi there! :) This is an exported string');
});
export default tap.start();