fix(dependencies): fix obsolete dependency on typings-global

This commit is contained in:
2018-08-13 22:27:21 +02:00
parent 8c894ea1c1
commit 5b5bcd804f
6 changed files with 207 additions and 29 deletions

View File

@ -1,16 +0,0 @@
import * as smartstring from '../ts/index';
import { tap, expect } from '@pushrocks/tapbundle';
// typscript
tap.test('expect match reference paths', async () => {
// tslint:disable-next-line:no-unused-expression
expect(smartstring.typescript.regexReferencePath.test('/// <reference path="" />')).to.be.true;
// tslint:disable-next-line:no-unused-expression
expect(smartstring.typescript.regexReferencePath.test("/// <reference path='' />")).to.be.true;
// tslint:disable-next-line:no-unused-expression
expect(smartstring.typescript.regexReferencePath.test('/// <referencepath="" />')).to.be.false;
});
tap.start();