Skip to content

Commit

Permalink
fix tests due to webpack change (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Apr 15, 2017
1 parent a1b4ba9 commit c5aabb3
Show file tree
Hide file tree
Showing 128 changed files with 239 additions and 229 deletions.
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.js 2.88 kB 0 [emitted] main
bundle.js 2.89 kB 0 [emitted] main
chunk {0} bundle.js (main) 166 bytes [entry] [rendered]
[0] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built]
[1] ./.test/aliasResolution/app.ts 120 bytes {0} [built]
@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.js 2.88 kB 0 [emitted] main
bundle.js 2.89 kB 0 [emitted] main
chunk {0} bundle.js (main) 166 bytes [entry] [rendered]
[0] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built]
[1] ./.test/aliasResolution/app.ts 120 bytes {0} [built] [1 error]
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.js 2.88 kB 0 [emitted] main
bundle.js 2.89 kB 0 [emitted] main
chunk {0} bundle.js (main) 165 bytes [entry] [rendered]
[0] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built]
[1] ./.test/aliasResolution/app.ts 120 bytes {0}
@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.js 2.88 kB 0 [emitted] main
bundle.js 2.89 kB 0 [emitted] main
chunk {0} bundle.js (main) 165 bytes [entry] [rendered]
[0] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built]
[1] ./.test/aliasResolution/app.ts 120 bytes {0} [built] [1 error]
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
@@ -1,4 +1,4 @@
Asset Size Chunks Chunk Names
bundle.js 2.75 kB 0 [emitted] main
bundle.js 2.76 kB 0 [emitted] main
chunk {0} bundle.js (main) 101 bytes [entry] [rendered]
[0] ./.test/allowJs-entryFileIsJs/src/index.js 101 bytes {0} [built]
@@ -1,4 +1,4 @@
Asset Size Chunks Chunk Names
bundle.js 2.65 kB 0 [emitted] main
bundle.js 2.66 kB 0 [emitted] main
chunk {0} bundle.js (main) 24 bytes [entry] [rendered]
[0] ./.test/allowJs-entryFileIsJs/src/index.js 24 bytes {0} [built]
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
@@ -1,6 +1,6 @@
Asset Size Chunks Chunk Names
bundle.entry2.js 2.94 kB 0 [emitted] entry2
bundle.entry1.js 2.66 kB 1 [emitted] entry1
bundle.entry2.js 2.95 kB 0 [emitted] entry2
bundle.entry1.js 2.67 kB 1 [emitted] entry1
chunk {0} bundle.entry2.js (entry2) 208 bytes [entry] [rendered]
[0] ./.test/appendSuffixToWatch/component.vue 76 bytes {0} [built]
[2] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} [built]
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.entry2.js 2.94 kB 0 entry2
bundle.entry2.js 2.95 kB 0 entry2
bundle.entry1.js 2.67 kB 1 [emitted] entry1
chunk {0} bundle.entry2.js (entry2) 208 bytes [entry]
[0] ./.test/appendSuffixToWatch/component.vue 76 bytes {0}
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.js 3.87 kB 0 [emitted] main
bundle.js.map 2.83 kB 0 [emitted] main
bundle.js.map 2.84 kB 0 [emitted] main
chunk {0} bundle.js, bundle.js.map (main) 1.2 kB [entry] [rendered]
[0] ./.test/babel-issue81/a.ts 1.2 kB {0} [built]
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.js 3.17 kB 0 [emitted] main
bundle.js 3.18 kB 0 [emitted] main
chunk {0} bundle.js (main) 110 bytes [entry] [rendered]
[0] ./.test/babel-issue92/submodule/submodule.tsx 38 bytes {0} [built]
[1] ./.test/babel-issue92/app.ts 72 bytes {0} [built]
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.js 3.81 kB 0 [emitted] main
bundle.js 3.82 kB 0 [emitted] main
chunk {0} bundle.js (main) 1.12 kB [entry] [rendered]
[0] external "react" 42 bytes {0} [not cacheable]
[1] ./.test/babel-jsxPreserve/app.tsx 1.07 kB {0} [built]
4 changes: 2 additions & 2 deletions test/comparison-tests/basic/expectedOutput-2.2/bundle.js
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
17 changes: 11 additions & 6 deletions test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js
Expand Up @@ -7,8 +7,9 @@
/******/ var moduleId, chunkId, i = 0, resolves = [], result;
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(installedChunks[chunkId])
/******/ if(installedChunks[chunkId]) {
/******/ resolves.push(installedChunks[chunkId][0]);
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/ for(moduleId in moreModules) {
Expand All @@ -17,8 +18,9 @@
/******/ }
/******/ }
/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);
/******/ while(resolves.length)
/******/ while(resolves.length) {
/******/ resolves.shift()();
/******/ }
/******/
/******/ };
/******/
Expand All @@ -34,9 +36,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand All @@ -57,8 +59,9 @@
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = function requireEnsure(chunkId) {
/******/ if(installedChunks[chunkId] === 0)
/******/ if(installedChunks[chunkId] === 0) {
/******/ return Promise.resolve();
/******/ }
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunks[chunkId]) {
Expand Down Expand Up @@ -91,7 +94,9 @@
/******/ clearTimeout(timeout);
/******/ var chunk = installedChunks[chunkId];
/******/ if(chunk !== 0) {
/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ if(chunk) {
/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));
/******/ }
/******/ installedChunks[chunkId] = undefined;
/******/ }
/******/ };
Expand Down
@@ -1,6 +1,6 @@
Asset Size Chunks Chunk Names
0.bundle.js 249 bytes 0 [emitted]
bundle.js 6.72 kB 1 [emitted] main
bundle.js 6.8 kB 1 [emitted] main
chunk {0} 0.bundle.js 72 bytes {1} [rendered]
[0] ./.test/codeSplitting/c.ts 36 bytes {0} [built]
[1] ./.test/codeSplitting/d.ts 36 bytes {0} [built]
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
Expand Up @@ -6,9 +6,9 @@
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
Expand Down
@@ -1,4 +1,4 @@
Asset Size Chunks Chunk Names
bundle.js 2.73 kB 0 [emitted] main
bundle.js 2.74 kB 0 [emitted] main
chunk {0} bundle.js (main) 82 bytes [entry] [rendered]
[0] ./.test/declarationDeps/app.ts 82 bytes {0} [built]
@@ -1,5 +1,5 @@
Asset Size Chunks Chunk Names
bundle.js 2.67 kB 0 [emitted] main
bundle.js 2.68 kB 0 [emitted] main
chunk {0} bundle.js (main) 41 bytes [entry] [rendered]
[0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error]

Expand Down

0 comments on commit c5aabb3

Please sign in to comment.