Skip to content

Commit 704e912

Browse files
committed
v0.3.1
1 parent 84fc781 commit 704e912

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mocha-coderoad",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "mocha test runner & reporter for atom-coderoad",
55
"main": "src/runner.js",
66
"scripts": {

src/reporter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function reporter(runner) {
1212
var obj = getIndexAndTitle(title);
1313
result.passes.push({
1414
msg: "Task " + obj.index + " Complete",
15-
taskPosition: obj.index - 1
15+
taskPosition: obj.index
1616
});
1717
});
1818
runner.on('fail', function (test, err) {

test/utils/concat-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function concatTests(targetFile, files) {
1818
}
1919
exports.concatTests = concatTests;
2020
function readAppend(targetFile, file) {
21-
fs.readFile(file, function (err, data) {
21+
fs.readFileSync(file, function (err, data) {
2222
if (err) {
2323
throw err;
2424
}

0 commit comments

Comments
 (0)