You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
* refactor: move `ecma` test to `uglifyOptions` test
* refactor: tests for `test`, `include` and `exclude` options
* refactor: `parallel` test
* refactor: merge `extractComments` option tests
Copy file name to clipboardExpand all lines: test/__snapshots__/exclude-option.test.js.snap
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`when applied with exclude option matches snapshot for a single exclude: entry.a3533847fa24ef98733c.js 1`] =`"webpackJsonp([2],{2:function(o,n){o.exports=function(){console.log(7)}}},[2]);"`;
3
+
exports[`when applied with exclude option matches snapshot for a single exclude value: entry.a3533847fa24ef98733c.js 1`] =`"webpackJsonp([2],{2:function(o,n){o.exports=function(){console.log(7)}}},[2]);"`;
4
4
5
-
exports[`when applied with exclude option matches snapshot for a single exclude: errors 1`] =`Array []`;
5
+
exports[`when applied with exclude option matches snapshot for a single exclude value: errors 1`] =`Array []`;
6
6
7
-
exports[`when applied with exclude option matches snapshot for a single exclude: excluded1.4d3a1b43eccbc2acc9d6.js 1`] =`
7
+
exports[`when applied with exclude option matches snapshot for a single exclude value: excluded1.4d3a1b43eccbc2acc9d6.js 1`] =`
8
8
"webpackJsonp([1],[
9
9
/* 0 */
10
10
/***/ (function(module, exports) {
@@ -18,17 +18,17 @@ module.exports = function Bar1() {
18
18
],[0]);"
19
19
`;
20
20
21
-
exports[`when applied with exclude option matches snapshot for a single exclude: excluded2.a96f544a34079b25c7b4.js 1`] =`"webpackJsonp([0],[,function(o,n){o.exports=function(){console.log(7)}}],[1]);"`;
21
+
exports[`when applied with exclude option matches snapshot for a single exclude value: excluded2.a96f544a34079b25c7b4.js 1`] =`"webpackJsonp([0],[,function(o,n){o.exports=function(){console.log(7)}}],[1]);"`;
22
22
23
-
exports[`when applied with exclude option matches snapshot for a single exclude: manifest.d37b2b873f771997c745.js 1`] =`"!function(r){varn=window.webpackJsonp;window.webpackJsonp=function(e,u,c){for(var f,i,p,a=0,l=[];a<e.length;a++)i=e[a],o[i]&&l.push(o[i][0]),o[i]=0;for(finu)Object.prototype.hasOwnProperty.call(u,f)&&(r[f]=u[f]);for(n&&n(e,u,c);l.length;)l.shift()();if(c)for(a=0;a<c.length;a++)p=t(t.s=c[a]);returnp};vare={},o={3:0};function t(n){if(e[n])returne[n].exports;var o=e[n]={i:n,l:!1,exports:{}};returnr[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=r,t.c=e,t.d=function(r,n,e){t.o(r,n)||Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:e})},t.n=function(r){var n=r&&r.__esModule?function(){returnr.default}:function(){returnr};returnt.d(n,\\"a\\",n),n},t.o=function(r,n){returnObject.prototype.hasOwnProperty.call(r,n)},t.p=\\"\\",t.oe=function(r){throwconsole.error(r),r}}([]);"`;
23
+
exports[`when applied with exclude option matches snapshot for a single exclude value: manifest.d37b2b873f771997c745.js 1`] =`"!function(r){varn=window.webpackJsonp;window.webpackJsonp=function(e,u,c){for(var f,i,p,a=0,l=[];a<e.length;a++)i=e[a],o[i]&&l.push(o[i][0]),o[i]=0;for(finu)Object.prototype.hasOwnProperty.call(u,f)&&(r[f]=u[f]);for(n&&n(e,u,c);l.length;)l.shift()();if(c)for(a=0;a<c.length;a++)p=t(t.s=c[a]);returnp};vare={},o={3:0};function t(n){if(e[n])returne[n].exports;var o=e[n]={i:n,l:!1,exports:{}};returnr[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=r,t.c=e,t.d=function(r,n,e){t.o(r,n)||Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:e})},t.n=function(r){var n=r&&r.__esModule?function(){returnr.default}:function(){returnr};returnt.d(n,\\"a\\",n),n},t.o=function(r,n){returnObject.prototype.hasOwnProperty.call(r,n)},t.p=\\"\\",t.oe=function(r){throwconsole.error(r),r}}([]);"`;
24
24
25
-
exports[`when applied with exclude option matches snapshot for a single exclude: warnings 1`] =`Array []`;
25
+
exports[`when applied with exclude option matches snapshot for a single exclude value: warnings 1`] =`Array []`;
26
26
27
-
exports[`when applied with exclude option matches snapshot for multiple excludes: entry.a3533847fa24ef98733c.js 1`] =`"webpackJsonp([2],{2:function(o,n){o.exports=function(){console.log(7)}}},[2]);"`;
27
+
exports[`when applied with exclude option matches snapshot for multiple exclude values: entry.a3533847fa24ef98733c.js 1`] =`"webpackJsonp([2],{2:function(o,n){o.exports=function(){console.log(7)}}},[2]);"`;
28
28
29
-
exports[`when applied with exclude option matches snapshot for multiple excludes: errors 1`] =`Array []`;
29
+
exports[`when applied with exclude option matches snapshot for multiple exclude values: errors 1`] =`Array []`;
30
30
31
-
exports[`when applied with exclude option matches snapshot for multiple excludes: excluded1.4d3a1b43eccbc2acc9d6.js 1`] =`
31
+
exports[`when applied with exclude option matches snapshot for multiple exclude values: excluded1.4d3a1b43eccbc2acc9d6.js 1`] =`
32
32
"webpackJsonp([1],[
33
33
/* 0 */
34
34
/***/ (function(module, exports) {
@@ -42,7 +42,7 @@ module.exports = function Bar1() {
42
42
],[0]);"
43
43
`;
44
44
45
-
exports[`when applied with exclude option matches snapshot for multiple excludes: excluded2.a96f544a34079b25c7b4.js 1`] =`
45
+
exports[`when applied with exclude option matches snapshot for multiple exclude values: excluded2.a96f544a34079b25c7b4.js 1`] =`
46
46
"webpackJsonp([0],[
47
47
/* 0 */,
48
48
/* 1 */
@@ -57,6 +57,6 @@ module.exports = function Bar2() {
57
57
],[1]);"
58
58
`;
59
59
60
-
exports[`when applied with exclude option matches snapshot for multiple excludes: manifest.d37b2b873f771997c745.js 1`] =`"!function(r){varn=window.webpackJsonp;window.webpackJsonp=function(e,u,c){for(var f,i,p,a=0,l=[];a<e.length;a++)i=e[a],o[i]&&l.push(o[i][0]),o[i]=0;for(finu)Object.prototype.hasOwnProperty.call(u,f)&&(r[f]=u[f]);for(n&&n(e,u,c);l.length;)l.shift()();if(c)for(a=0;a<c.length;a++)p=t(t.s=c[a]);returnp};vare={},o={3:0};function t(n){if(e[n])returne[n].exports;var o=e[n]={i:n,l:!1,exports:{}};returnr[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=r,t.c=e,t.d=function(r,n,e){t.o(r,n)||Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:e})},t.n=function(r){var n=r&&r.__esModule?function(){returnr.default}:function(){returnr};returnt.d(n,\\"a\\",n),n},t.o=function(r,n){returnObject.prototype.hasOwnProperty.call(r,n)},t.p=\\"\\",t.oe=function(r){throwconsole.error(r),r}}([]);"`;
60
+
exports[`when applied with exclude option matches snapshot for multiple exclude values: manifest.d37b2b873f771997c745.js 1`] =`"!function(r){varn=window.webpackJsonp;window.webpackJsonp=function(e,u,c){for(var f,i,p,a=0,l=[];a<e.length;a++)i=e[a],o[i]&&l.push(o[i][0]),o[i]=0;for(finu)Object.prototype.hasOwnProperty.call(u,f)&&(r[f]=u[f]);for(n&&n(e,u,c);l.length;)l.shift()();if(c)for(a=0;a<c.length;a++)p=t(t.s=c[a]);returnp};vare={},o={3:0};function t(n){if(e[n])returne[n].exports;var o=e[n]={i:n,l:!1,exports:{}};returnr[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=r,t.c=e,t.d=function(r,n,e){t.o(r,n)||Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:e})},t.n=function(r){var n=r&&r.__esModule?function(){returnr.default}:function(){returnr};returnt.d(n,\\"a\\",n),n},t.o=function(r,n){returnObject.prototype.hasOwnProperty.call(r,n)},t.p=\\"\\",t.oe=function(r){throwconsole.error(r),r}}([]);"`;
61
61
62
-
exports[`when applied with exclude option matches snapshot for multiple excludes: warnings 1`] =`Array []`;
62
+
exports[`when applied with exclude option matches snapshot for multiple exclude values: warnings 1`] =`Array []`;
Copy file name to clipboardExpand all lines: test/__snapshots__/include-option.test.js.snap
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`when applied with include option matches snapshot for a single include: entry.a3533847fa24ef98733c.js 1`] =`
3
+
exports[`when applied with include option matches snapshot for a single include value: entry.a3533847fa24ef98733c.js 1`] =`
4
4
"webpackJsonp([2],{
5
5
6
6
/***/2:
@@ -22,11 +22,11 @@ module.exports = function Foo() {
22
22
},[2]);"
23
23
`;
24
24
25
-
exports[`when applied with include option matches snapshot for a single include: errors 1`] =`Array []`;
25
+
exports[`when applied with include option matches snapshot for a single include value: errors 1`] =`Array []`;
26
26
27
-
exports[`when applied with include option matches snapshot for a single include: included1.3c000166b4174c9cb9a0.js 1`] =`"webpackJsonp([1],[function(o,n){o.exports=function(){console.log(7)}}],[0]);"`;
27
+
exports[`when applied with include option matches snapshot for a single include value: included1.3c000166b4174c9cb9a0.js 1`] =`"webpackJsonp([1],[function(o,n){o.exports=function(){console.log(7)}}],[0]);"`;
28
28
29
-
exports[`when applied with include option matches snapshot for a single include: included2.110cfb201ee67fa7a412.js 1`] =`
29
+
exports[`when applied with include option matches snapshot for a single include value: included2.110cfb201ee67fa7a412.js 1`] =`
30
30
"webpackJsonp([0],[
31
31
/* 0 */,
32
32
/* 1 */
@@ -42,7 +42,7 @@ module.exports = function Bar2() {
42
42
],[1]);"
43
43
`;
44
44
45
-
exports[`when applied with include option matches snapshot for a single include: manifest.d37b2b873f771997c745.js 1`] =`
45
+
exports[`when applied with include option matches snapshot for a single include value: manifest.d37b2b873f771997c745.js 1`] =`
46
46
"/******/ (function(modules) {// webpackBootstrap
47
47
/******/// install a JSONP callback for chunk loading
@@ -146,9 +146,9 @@ exports[`when applied with include option matches snapshot for a single include:
146
146
/******/ ([]);"
147
147
`;
148
148
149
-
exports[`when applied with include option matches snapshot for a single include: warnings 1`] =`Array []`;
149
+
exports[`when applied with include option matches snapshot for a single include value: warnings 1`] =`Array []`;
150
150
151
-
exports[`when applied with include option matches snapshot for multiple includes: entry.a3533847fa24ef98733c.js 1`] =`
151
+
exports[`when applied with include option matches snapshot for multiple include values: entry.a3533847fa24ef98733c.js 1`] =`
152
152
"webpackJsonp([2],{
153
153
154
154
/***/2:
@@ -170,13 +170,13 @@ module.exports = function Foo() {
170
170
},[2]);"
171
171
`;
172
172
173
-
exports[`when applied with include option matches snapshot for multiple includes: errors 1`] =`Array []`;
173
+
exports[`when applied with include option matches snapshot for multiple include values: errors 1`] =`Array []`;
174
174
175
-
exports[`when applied with include option matches snapshot for multiple includes: included1.3c000166b4174c9cb9a0.js 1`] =`"webpackJsonp([1],[function(o,n){o.exports=function(){console.log(7)}}],[0]);"`;
175
+
exports[`when applied with include option matches snapshot for multiple include values: included1.3c000166b4174c9cb9a0.js 1`] =`"webpackJsonp([1],[function(o,n){o.exports=function(){console.log(7)}}],[0]);"`;
176
176
177
-
exports[`when applied with include option matches snapshot for multiple includes: included2.110cfb201ee67fa7a412.js 1`] =`"webpackJsonp([0],[,function(o,n){o.exports=function(){console.log(7)}}],[1]);"`;
177
+
exports[`when applied with include option matches snapshot for multiple include values: included2.110cfb201ee67fa7a412.js 1`] =`"webpackJsonp([0],[,function(o,n){o.exports=function(){console.log(7)}}],[1]);"`;
178
178
179
-
exports[`when applied with include option matches snapshot for multiple includes: manifest.d37b2b873f771997c745.js 1`] =`
179
+
exports[`when applied with include option matches snapshot for multiple include values: manifest.d37b2b873f771997c745.js 1`] =`
180
180
"/******/ (function(modules) {// webpackBootstrap
181
181
/******/// install a JSONP callback for chunk loading
0 commit comments