Skip to content

Commit

Permalink
test: added basic test for ._fill() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Perrotte committed Sep 27, 2019
1 parent ffe056f commit 921e6dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/basic.js
Expand Up @@ -4,6 +4,7 @@ var test = require('tap').test

test('basic', function (t) {
const h = HostedGit.fromUrl('github:user/project')
t.equal(h._fill(), undefined)
t.is(h.constructor, HostedGit)
t.is(h.constructor.name, 'GitHost')
t.is(HostedGit.fromUrl('https://google.com'), undefined, 'null on failure')
Expand Down

0 comments on commit 921e6dd

Please sign in to comment.