Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -47,6 +47,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
}
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.help = exports.run = void 0;
var fs_1 = require("fs");
var json5_1 = require("json5");
var path_1 = require("path");
@@ -122,19 +123,19 @@ exports.run = function (args) { return __awaiter(void 0, void 0, void 0, functio
content.push(" preset: '" + preset.name + "',");
}
else {
content.push(" ...tsjPreset,");
content.push(' ...tsjPreset,');
}
if (!jsdom)
content.push(" testEnvironment: 'node',");
if (tsconfig || shouldPostProcessWithBabel) {
content.push(" globals: {");
content.push(' globals: {');
content.push(" 'ts-jest': {");
if (tsconfig)
content.push(" tsconfig: " + json5_1.stringify(tsconfig) + ",");
if (shouldPostProcessWithBabel)
content.push(" babelConfig: true,");
content.push(" },");
content.push(" },");
content.push(' babelConfig: true,');
content.push(' },');
content.push(' },');
}
content.push('};');
body = content.join('\n');