Skip to content

Commit 14c48d9

Browse files
committed
prune mocha-coderoad
1 parent b945d13 commit 14c48d9

File tree

14 files changed

+6
-57
lines changed

14 files changed

+6
-57
lines changed

‎.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
snippets.cson
22
test
33
src
4-
src/typings
54
tsconfig.json
65
tslint.json

‎lib/runner/constants.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎lib/runner/runner-process.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function spawnRunnerProcess(_a) {
2626
'--harmony',
2727
'--no-colors',
2828
'--timeout=3000',
29-
'--compilers js:babel-core/register',
29+
'--compilers js:babel-register',
3030
("--reporter=" + reporterPath),
3131
testPath,
3232
], options);

‎lib/writeTests/compiler.js

Whitespace-only changes.

‎lib/writeTests/context.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎lib/writeTests/helpers.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎lib/writeTests/helpers/babel-register.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎lib/writeTests/helpers/compiler.js

Whitespace-only changes.

‎lib/writeTests/helpers/exists.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎lib/writeTests/helpers/rewire.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎lib/writeTests/import-paths.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"test": "echo \"Error: no test specified\" && exit 1"
2727
},
2828
"dependencies": {
29+
"js-coderoad": "^0.1.2",
2930
"mocha": "^3.0.2",
30-
"node-file-exists": "1.1.0",
31-
"js-coderoad": "^0.1.1"
31+
"node-file-exists": "1.1.0"
3232
},
3333
"devDependencies": {
3434
"chai": "3.5.0",

‎src/runner/runner-process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function spawnRunnerProcess({dir, taskPosition, testPath}) {
3232
'--harmony', // es6 features
3333
'--no-colors',
3434
'--timeout=3000',
35-
'--compilers js:babel-core/register', // for import/export of modules
35+
'--compilers js:babel-register', // for import/export of modules
3636
`--reporter=${reporterPath}`, // test feedback
3737
testPath, // unit tests
3838
], options);

‎src/typings/tsd.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ interface CombineTestsOptions {
1616
testPath: string;
1717
testFile?: string;
1818
}
19+
20+
declare module 'js-coderoad';

0 commit comments

Comments
 (0)