mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-30 13:02:03 -04:00
14 lines
591 B
TypeScript
14 lines
591 B
TypeScript
import test = require('tape')
|
|
import * as pnpm from '../src'
|
|
|
|
test('API', t => {
|
|
t.equal(typeof pnpm.install, 'function', 'exports install()')
|
|
t.equal(typeof pnpm.install, 'function', 'exports installPkgDeps()')
|
|
t.equal(typeof pnpm.uninstall, 'function', 'exports uninstall()')
|
|
t.equal(typeof pnpm.linkFromGlobal, 'function', 'exports linkFromGlobal()')
|
|
t.equal(typeof pnpm.linkFromRelative, 'function', 'exports linkFromRelative()')
|
|
t.equal(typeof pnpm.linkToGlobal, 'function', 'exports linkToGlobal()')
|
|
t.equal(typeof pnpm.prune, 'function', 'exports prune()')
|
|
t.end()
|
|
})
|