commitground
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -8,4 +8,2 @@ /** | ||
const Commitground = require('./src/Commitground'); | ||
module.exports = Commitground; | ||
module.exports = require('./src/Commitground'); |
{ | ||
"name": "commitground", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "This is a javascript library to use commitground apis", | ||
@@ -23,2 +23,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"chai": "^4.1.2", | ||
"eslint": "^4.19.1", | ||
@@ -25,0 +26,0 @@ "eslint-config-airbnb-base": "^12.1.0", |
@@ -1,8 +0,8 @@ | ||
var assert = require('assert'); | ||
var commitground = require('commitground'); | ||
var assert = require('chai').assert; | ||
var commitground = require('../index.js'); | ||
describe('Suite of test', function() { | ||
it('should be passed', function() { | ||
assert.ok(true) | ||
describe('hello()', function() { | ||
it('should return "world"', function() { | ||
assert(commitground.hello() === 'world', 'Passed Hello world test') | ||
}) | ||
}) |
Sorry, the diff of this file is not supported yet
6747
20
5