add .license to npm class
This commit is contained in:
@@ -16,7 +16,7 @@ describe("projectinfo",function(){
|
||||
|
||||
it("should have .version",function(){
|
||||
myNpm
|
||||
.should.have.property("name","testpackage")
|
||||
.should.have.property("version","1.0.0")
|
||||
});
|
||||
|
||||
it("should have .name",function(){
|
||||
@@ -24,6 +24,11 @@ describe("projectinfo",function(){
|
||||
.should.have.property("name","testpackage");
|
||||
});
|
||||
|
||||
it("should have .license",function(){
|
||||
myNpm
|
||||
.should.have.property("license","MIT");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe(".getName()",function(){
|
||||
|
||||
Reference in New Issue
Block a user