Skip to content

Commit

Permalink
include emit changes for 2.7 in test pack
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Jan 20, 2018
1 parent 44fa12b commit 9a63c78
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion test/comparison-tests/colors/expectedOutput-2.7/bundle.js
Expand Up @@ -67,7 +67,7 @@
/* 0 */
/***/ (function(module, exports) {

throw new Error("Module parse failed: Unexpected token (1:9)\nYou may need an appropriate loader to handle this file type.\n| var a = == 0;\n| ");
throw new Error("Module parse failed: Unexpected token (2:1)\nYou may need an appropriate loader to handle this file type.\n| var a;\n| == 0;\n| ");

/***/ })
/******/ ]);
@@ -1,13 +1,14 @@
Asset Size Chunks Chunk Names
bundle.js 2.62 kB 0 [emitted] main
[0] ./.test/colors/app.ts 147 bytes {0} [built] [failed] [2 errors]
[0] ./.test/colors/app.ts 149 bytes {0} [built] [failed] [2 errors]

ERROR in ./.test/colors/app.ts
Module parse failed: Unexpected token (1:9)
Module parse failed: Unexpected token (2:1)
You may need an appropriate loader to handle this file type.
| var a = == 0;
| var a;
| == 0;
|

ERROR in ./.test/colors/app.ts
[tsl] ERROR in app.ts(1,7)
TS1005: '=' expected.
TS1005: ',' expected.
9 changes: 5 additions & 4 deletions test/comparison-tests/colors/expectedOutput-2.7/output.txt
@@ -1,13 +1,14 @@
Asset Size Chunks Chunk Names
bundle.js 2.62 kB 0 [emitted] main
[0] ./.test/colors/app.ts 147 bytes {0} [built] [failed] [2 errors]
[0] ./.test/colors/app.ts 149 bytes {0} [built] [failed] [2 errors]

ERROR in ./.test/colors/app.ts
[tsl] ERROR in app.ts(1,7)
TS1005: '=' expected.
TS1005: ',' expected.

ERROR in ./.test/colors/app.ts
Module parse failed: Unexpected token (1:9)
Module parse failed: Unexpected token (2:1)
You may need an appropriate loader to handle this file type.
| var a = == 0;
| var a;
| == 0;
|
2 changes: 1 addition & 1 deletion test/comparison-tests/errors/expectedOutput-2.7/bundle.js
Expand Up @@ -67,7 +67,7 @@
/* 0 */
/***/ (function(module, exports) {

throw new Error("Module parse failed: Unexpected token (1:9)\nYou may need an appropriate loader to handle this file type.\n| var a = == 0;\n| ");
throw new Error("Module parse failed: Unexpected token (2:1)\nYou may need an appropriate loader to handle this file type.\n| var a;\n| == 0;\n| ");

/***/ })
/******/ ]);
9 changes: 5 additions & 4 deletions test/comparison-tests/errors/expectedOutput-2.7/output.txt
@@ -1,13 +1,14 @@
Asset Size Chunks Chunk Names
bundle.js 2.62 kB 0 [emitted] main
[0] ./.test/errors/app.ts 147 bytes {0} [built] [failed] [2 errors]
[0] ./.test/errors/app.ts 149 bytes {0} [built] [failed] [2 errors]

ERROR in ./.test/errors/app.ts
[tsl] ERROR in app.ts(1,7)
 TS1005: '=' expected.
 TS1005: ',' expected.

ERROR in ./.test/errors/app.ts
Module parse failed: Unexpected token (1:9)
Module parse failed: Unexpected token (2:1)
You may need an appropriate loader to handle this file type.
| var a = == 0;
| var a;
| == 0;
|
2 changes: 1 addition & 1 deletion test/comparison-tests/node/expectedOutput-2.7/bundle.js
Expand Up @@ -67,7 +67,7 @@
/* 0 */
/***/ (function(module, exports) {

/// <reference path="../../src/typings/node/node.d.ts" />
/// <reference path="../../src/typings/node/node.d.ts" />


/***/ })
Expand Down
2 changes: 1 addition & 1 deletion test/comparison-tests/node/expectedOutput-2.7/output.txt
@@ -1,3 +1,3 @@
Asset Size Chunks Chunk Names
bundle.js 2.53 kB 0 [emitted] main
[0] ./.test/node/app.ts 59 bytes {0} [built]
[0] ./.test/node/app.ts 58 bytes {0} [built]
Expand Up @@ -8,7 +8,7 @@ ERROR in tsconfig.json

ERROR in tsconfig.json
[tsl] ERROR
 TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'esnext'.
 TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'esnext'.

ERROR in ./.test/tsconfigInvalid/app.ts
Module build failed: error while parsing tsconfig.json

0 comments on commit 9a63c78

Please sign in to comment.