Skip to content

Commit

Permalink
regenerate test output
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Jun 2, 2018
1 parent 375dcda commit 6d25045
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./nod
/*! no static exports found */
/***/ (function(module, exports) {

eval("throw new Error(\"Module build failed: Error: Typescript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at successLoader (/Users/alawson/dev/ts-loader/dist/index.js:41:15)/n at Object.loader (/Users/alawson/dev/ts-loader/dist/index.js:21:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?");
eval("throw new Error(\"Module build failed: Error: Typescript emitted no output for C://source//ts-loader//.test//nodeModulesMeaningfulErrorWhenImportingTs//node_modules//a//index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at successLoader (C://source//ts-loader//dist//index.js:41:15)/n at Object.loader (C://source//ts-loader//dist//index.js:21:12)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?");

/***/ })

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Asset Size Chunks Chunk Names
bundle.js 3.77 KiB main [emitted] main
bundle.js 3.79 KiB main [emitted] main
Entrypoint main = bundle.js
[./app.ts] 79 bytes {main} [built]
[./node_modules/a/index.ts] 568 bytes {main} [built] [failed] [1 error]
[./node_modules/a/index.ts] 556 bytes {main} [built] [failed] [1 error]

ERROR in ./node_modules/a/index.ts
Module build failed: Error: Typescript emitted no output for node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules.
Module build failed: Error: Typescript emitted no output for node_modules\a\index.ts. By default, ts-loader will not compile .ts files in node_modules.
You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.
See: https://github.com/Microsoft/TypeScript/issues/12358
at successLoader (dist/index.js:41:15)
at Object.loader (dist/index.js:21:12)
at successLoader (dist\index.js:41:15)
at Object.loader (dist\index.js:21:12)
@ ./app.ts 3:8-20
2 changes: 1 addition & 1 deletion test/comparison-tests/run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var execSync = require('child_process').execSync;

// We only want to run comparison tests for the latest released version
var typescriptVersion = parseFloat(semver.major(typescript.version) + '.' + semver.minor(typescript.version));
if (typescriptVersion < 2.8 || typescriptVersion > 2.8) return;
if (typescriptVersion < 2.9 || typescriptVersion > 2.9) return;

// Parse command line arguments
var saveOutputMode = process.argv.indexOf('--save-output') !== -1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
/*! no static exports found */
/***/ (function(module, exports) {

eval("throw new Error(\"Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules/n/n at validateLoaderOptions (/Users/alawson/dev/ts-loader/dist/index.js:110:19)/n at getLoaderOptions (/Users/alawson/dev/ts-loader/dist/index.js:72:5)/n at Object.loader (/Users/alawson/dev/ts-loader/dist/index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?");
eval("throw new Error(\"Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules/n/n at validateLoaderOptions (C://source//ts-loader//dist//index.js:110:19)/n at getLoaderOptions (C://source//ts-loader//dist//index.js:72:5)/n at Object.loader (C://source//ts-loader//dist//index.js:15:21)\");\n\n//# sourceURL=webpack:///./app.ts?");

/***/ })

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Asset Size Chunks Chunk Names
bundle.js 3.53 KiB main [emitted] main
bundle.js 3.54 KiB main [emitted] main
Entrypoint main = bundle.js
[./app.ts] 766 bytes {main} [built] [failed] [1 error]
[./app.ts] 751 bytes {main} [built] [failed] [1 error]

ERROR in ./app.ts
Module build failed: Error: ts-loader was supplied with an unexpected loader option: notRealOption

Please take a look at the options you are supplying; the following are valid options:
silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules

at validateLoaderOptions (dist/index.js:110:19)
at getLoaderOptions (dist/index.js:72:5)
at Object.loader (dist/index.js:15:21)
at validateLoaderOptions (dist\index.js:110:19)
at getLoaderOptions (dist\index.js:72:5)
at Object.loader (dist\index.js:15:21)
2 changes: 1 addition & 1 deletion test/execution-tests/pnpm/shrinkwrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ packages:
resolution:
integrity: sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==
registry: 'https://registry.npmjs.org/'
shrinkwrapMinorVersion: 5
shrinkwrapMinorVersion: 7
shrinkwrapVersion: 3
specifiers:
'@types/react': 16.3.12
Expand Down

0 comments on commit 6d25045

Please sign in to comment.