Skip to content

Commit 78b0d2b

Browse files
committed
update packages
1 parent e2aa2c0 commit 78b0d2b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

lib/writeTests/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var helpers_1 = require('./helpers');
66
function writeTest(_a) {
77
var dir = _a.dir, tests = _a.tests, testPath = _a.testPath;
88
var fixImports = import_paths_1.default(dir, tests);
9-
var output = '(function(){\n'
9+
var output = "(function(){\n'use strict';\n"
1010
.concat(process_console_log_1.logger)
1111
.concat(helpers_1.default(dir))
1212
.concat(fixImports)

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"test": "echo \"Error: no test specified\" && exit 1"
2727
},
2828
"dependencies": {
29-
"babel-plugin-transform-es2015-modules-commonjs": "^6.11.5",
30-
"babel-register": "^6.11.6",
31-
"mocha": "^3.0.1",
32-
"node-file-exists": "^1.1.0",
33-
"process-console-log": "^0.2.2",
29+
"babel-plugin-transform-es2015-modules-commonjs": "6.11.5",
30+
"babel-register": "6.11.6",
31+
"mocha": "3.0.2",
32+
"node-file-exists": "1.1.0",
33+
"process-console-log": "0.2.2",
3434
"rewire": "https://github.com/ShMcK/rewire.git"
3535
},
3636
"devDependencies": {
37-
"chai": "^3.5.0",
38-
"chai-spies": "^0.7.1"
37+
"chai": "3.5.0",
38+
"chai-spies": "0.7.1"
3939
}
4040
}

src/writeTests/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function writeTest({ dir, tests, testPath }) {
99
const fixImports = importPaths(dir, tests);
1010
// const compiled = compiler(fixImports);
1111

12-
const output = '(function(){\n'
12+
const output = `(function(){\n'use strict';\n`
1313
// append logger for capturing log values and types
1414
.concat(logger)
1515
// 1. babel hook to handle import / export in other files

0 commit comments

Comments
 (0)