Skip to content

Commit

Permalink
setup PumlWriter test structure
Browse files Browse the repository at this point in the history
  • Loading branch information
reun committed Nov 16, 2018
1 parent 3802241 commit 5e79dc8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
},
"repository": "schneiderlars/manipu",
"scripts": {
"test": "nyc mocha --forbid-only \"test/**/*.test.js\""
"test": "nyc mocha --forbid-only \"test/**/*.test.js\"",
"test-debug": "nyc mocha --forbid-only \"test/**/*.test.js\" --inspect-brk"
}
}
3 changes: 3 additions & 0 deletions src/PumlWriter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports.bundleToPuml = function (bundle) {
return "asd";
}
11 changes: 11 additions & 0 deletions test/PumlWriter.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const PumlWriter = require('../src/PumlWriter')
var assert = require('assert');

describe('PumlWriter', function () {
describe('bundleToPuml', function () {
it('should return puml string', function () {
const result = PumlWriter.bundleToPuml();
assert.equal("", result);
});
});
});

0 comments on commit 5e79dc8

Please sign in to comment.