Update index-tests.ts

This commit is contained in:
Homa Wong
2016-03-31 11:15:48 -07:00
parent 9468e5badc
commit 37ade3080e

View File

@@ -1,5 +1,6 @@
/// <reference path="index.d.ts" />
// Much better testing in https://github.com/typed-typings/typed-resolve-from
import resolveFrom = require('resolve-from');
console.log(typeof resolveFrom === 'function');
if (typeof resolveFrom !== 'function') {
throw new Error('resolveFrom is not a function');
}