-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84e53b0
commit 3ec05ca
Showing
5 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
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,24 @@ | ||
const assert = require("assert"); | ||
const {spawn} = require("child_process"); | ||
const fs = require("fs"); | ||
const transform = require("../lib/changelog.js"); | ||
|
||
describe("Changelog", function () { | ||
it("Convert git log to changelog", function () { | ||
var markdown = ""; | ||
var proc = spawn("node", ["lib/changelog"], {cwd: __dirname + "/.."}); | ||
proc.stdout.on("data", function(chunk) { | ||
markdown += chunk; | ||
}) | ||
.on("end", function() { | ||
assert.deepStrictEqual(markdown.split("\n"), [ | ||
"# Thu Sep 16 17:19:02 2021 +0200", | ||
"- All terms were deprecated", | ||
"- 100 new terms were introduced", | ||
"" | ||
]); | ||
process.exit(0); | ||
}); | ||
fs.createReadStream("test/gitlog.txt").pipe(proc.stdin); | ||
}); | ||
}); |
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,25 @@ | ||
commit 0c620c74d1c738e98f270c809ea6f347d5106e7c | ||
Author: Ralf Handl <[email protected]> | ||
Date: Fri Sep 17 11:00:09 2021 +0200 | ||
|
||
Update README.md (#155) | ||
|
||
* Update README.md | ||
|
||
Co-authored-by: Heiko Theißen <[email protected]> | ||
|
||
commit c231de3dbb043eae0deed124851055712da6ff59 | ||
Author: Heiko Theißen <[email protected]> | ||
Date: Thu Sep 16 17:24:48 2021 +0200 | ||
|
||
Temporal vocabulary (#146) | ||
|
||
commit 122dff83ef4f139e3361e5af557519c898ee81bd | ||
Author: Ralf Handl <[email protected]> | ||
Date: Thu Sep 16 17:19:02 2021 +0200 | ||
|
||
Temporal: example for timeline with object key (#154) | ||
|
||
CHANGELOG | ||
- All terms were deprecated | ||
- 100 new terms were introduced |