-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): start using Mocha for #41
- Loading branch information
Showing
4 changed files
with
46 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
const la = require('lazy-ass') | ||
const is = require('check-more-types') | ||
|
||
/* global describe, it */ | ||
describe('module install', () => { | ||
const install = require('./module-install') | ||
// const path = require('path') | ||
|
||
it('is a function', () => { | ||
la(is.fn(install)) | ||
}) | ||
|
||
// it('install into tmp folder', function () { | ||
// gt.func(install, 'install is a function'); | ||
// var options = { | ||
// name: 'lodash', | ||
// prefix: '/tmp/lodash-prefix/', | ||
// registry: 'http://registry.npmjs.org/' | ||
// }; | ||
// install(options).then(function () { | ||
// return path.join(options.prefix, '/lib/node_modules/' + options.name); | ||
// }) | ||
// .finally(gt.start) | ||
// .done(); | ||
// }); | ||
|
||
// gt.async('passes command line flags', function () { | ||
// var options = { | ||
// name: 'lodash', | ||
// prefix: '/tmp/lodash-prefix/', | ||
// registry: 'http://registry.npmjs.org/', | ||
// flags: ['--verbose'] | ||
// }; | ||
// install(options).then(function () { | ||
// return path.join(options.prefix, '/lib/node_modules/' + options.name); | ||
// }) | ||
// .finally(gt.start) | ||
// .done(); | ||
// }); | ||
}) |
This file was deleted.
Oops, something went wrong.