fix(dependencies): fix obsolete dependency on typings-global
This commit is contained in:
@ -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();
|
Reference in New Issue
Block a user