diff --git a/resolve-from/index-tests.ts b/resolve-from/index-tests.ts index 6333f1450..a1f5480ff 100644 --- a/resolve-from/index-tests.ts +++ b/resolve-from/index-tests.ts @@ -1,5 +1,6 @@ +/// + // 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'); +}