UNPKG

barrelsby

Version:

Automatic TypeScript barrels for your entire code base

11 lines (9 loc) 378 B
import { getCombinedBaseUrl } from './baseUrl'; describe('options/baseUrl module has a', () => { describe('getCombinedBaseUrl function that', () => { it('should resolve the correct baseUrl', () => { expect(getCombinedBaseUrl('.', 'base/url') as string).toMatch(/base[\\/]url$/); expect(getCombinedBaseUrl('.', undefined)).not.toBeDefined(); }); }); });