Skip to content

Commit 9f2e788

Browse files
committed
v0.6.0 release
1 parent 3ad3cb3 commit 9f2e788

File tree

8 files changed

+9
-60
lines changed

8 files changed

+9
-60
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## [0.5.6] - 2016-03-31
5+
## [0.6.0] - 2016-04-01
6+
- loaders are now internal to Atom-Coderoad
7+
8+
## [0.5.7] - 2016-03-31
69
- log objects and arrays using `console.dir`
10+
- remove babel dependency
711

812
## [0.5.4] - 2016-03-20
913
- fix: normalize path issue on Linux

lib/create-runner.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"use strict";
22
var path = require('path');
33
var exists_1 = require('./exists');
4-
require('./loaders');
54
var spawn = require('child_process').spawn;
65
var node = null;
76
if (process.platform === 'darwin' && process.resourcesPath) {
@@ -38,7 +37,6 @@ function createRunner(config, testFile) {
3837
'--harmony',
3938
'--no-colors',
4039
("--reporter=" + path.join(__dirname, 'reporter.js')),
41-
path.join(__dirname, 'loaders'),
4240
testFile
4341
], options);
4442
}

lib/loaders.js

-22
This file was deleted.

package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mocha-coderoad",
3-
"version": "0.5.6",
3+
"version": "0.6.0",
44
"description": "mocha test runner & reporter for atom-coderoad",
55
"main": "lib/runner.js",
66
"scripts": {
@@ -26,13 +26,11 @@
2626
},
2727
"homepage": "https://github.com/coderoad/mocha-coderoad#readme",
2828
"dependencies": {
29-
"babel-core": "^6.7.2",
30-
"babel-preset-es2015": "^6.6.0",
3129
"mocha": "2.4.5"
3230
},
3331
"devDependencies": {
3432
"chai": "^3.5.0",
35-
"chai-as-promised": "^5.2.0",
33+
"chai-as-promised": "^5.3.0",
3634
"chai-spies": "^0.7.1"
3735
}
3836
}

src/create-runner.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as path from 'path';
22
import {fileExists} from './exists';
3-
import './loaders';
43
const spawn = require('child_process').spawn;
54

65
// get absolute path to node exec
@@ -32,8 +31,6 @@ export function createRunner(config: CR.Config, testFile: string) {
3231
options.env = Object.create(process.env);
3332
}
3433
options.env.ATOM_SHELL_INTERNAL_RUN_AS_NODE = 1;
35-
// options.env.ELECTRON_RUN_AS_NODE = 1;
36-
3734
options.env.DIR = config.dir;
3835
options.env.TUTORIAL_DIR = config.tutorialDir;
3936
options.env.TASK_POSITION = config.taskPosition;
@@ -46,8 +43,8 @@ export function createRunner(config: CR.Config, testFile: string) {
4643
'--harmony',
4744
'--no-colors',
4845
`--reporter=${path.join(__dirname, 'reporter.js') }`,
49-
path.join(__dirname, 'loaders'),
5046
testFile
47+
5148
], options);
5249
// .concat(runnerOptions)
5350
}

src/loaders.ts

-25
This file was deleted.

test/utils/runner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ function handleResult(result) {
1313
}
1414

1515
exports.getRunner = function getRunner(file) {
16-
return runner(file, config, handleResult,);
16+
return runner(file, config, handleResult);
1717
}

tsconfig.json

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"files": [
1818
"src/create-runner.ts",
1919
"src/exists.ts",
20-
"src/loaders.ts",
2120
"src/reporter.ts",
2221
"src/runner.ts",
2322
"src/utils.ts",

0 commit comments

Comments
 (0)