@@ -52,16 +52,16 @@ describe("Compiler", function() {
5252 files . should . have . property ( "bundle.js" ) . have . type ( "string" ) ;
5353 Object . keys ( files ) . should . be . eql ( [ "bundle.js" ] ) ;
5454 var bundle = files [ "bundle.js" ] ;
55- bundle . should . include ( "function __webpack_require__(" ) ;
56- bundle . should . include ( "__webpack_require__(/*! ./a */ 1);" ) ;
57- bundle . should . include ( "./c.js" ) ;
58- bundle . should . include ( "./a.js" ) ;
59- bundle . should . include ( "This is a" ) ;
60- bundle . should . include ( "This is c" ) ;
61- bundle . should . not . include ( "2: function(" ) ;
62- bundle . should . not . include ( "window" ) ;
63- bundle . should . not . include ( "jsonp" ) ;
64- bundle . should . not . include ( "fixtures" ) ;
55+ bundle . should . containEql ( "function __webpack_require__(" ) ;
56+ bundle . should . containEql ( "__webpack_require__(/*! ./a */ 1);" ) ;
57+ bundle . should . containEql ( "./c.js" ) ;
58+ bundle . should . containEql ( "./a.js" ) ;
59+ bundle . should . containEql ( "This is a" ) ;
60+ bundle . should . containEql ( "This is c" ) ;
61+ bundle . should . not . containEql ( "2: function(" ) ;
62+ bundle . should . not . containEql ( "window" ) ;
63+ bundle . should . not . containEql ( "jsonp" ) ;
64+ bundle . should . not . containEql ( "fixtures" ) ;
6565 done ( ) ;
6666 } ) ;
6767 } ) ;
@@ -70,19 +70,19 @@ describe("Compiler", function() {
7070 files . should . have . property ( "bundle.js" ) . have . type ( "string" ) ;
7171 Object . keys ( files ) . should . be . eql ( [ "bundle.js" ] ) ;
7272 var bundle = files [ "bundle.js" ] ;
73- bundle . should . include ( "function __webpack_require__(" ) ;
74- bundle . should . include ( "__webpack_require__(/*! ./a */" ) ;
75- bundle . should . include ( "./main1.js" ) ;
76- bundle . should . include ( "./a.js" ) ;
77- bundle . should . include ( "./b.js" ) ;
78- bundle . should . include ( "./~/m1/a.js" ) ;
79- bundle . should . include ( "This is a" ) ;
80- bundle . should . include ( "This is b" ) ;
81- bundle . should . include ( "This is m1/a" ) ;
82- bundle . should . not . include ( "4: function(" ) ;
83- bundle . should . not . include ( "window" ) ;
84- bundle . should . not . include ( "jsonp" ) ;
85- bundle . should . not . include ( "fixtures" ) ;
73+ bundle . should . containEql ( "function __webpack_require__(" ) ;
74+ bundle . should . containEql ( "__webpack_require__(/*! ./a */" ) ;
75+ bundle . should . containEql ( "./main1.js" ) ;
76+ bundle . should . containEql ( "./a.js" ) ;
77+ bundle . should . containEql ( "./b.js" ) ;
78+ bundle . should . containEql ( "./~/m1/a.js" ) ;
79+ bundle . should . containEql ( "This is a" ) ;
80+ bundle . should . containEql ( "This is b" ) ;
81+ bundle . should . containEql ( "This is m1/a" ) ;
82+ bundle . should . not . containEql ( "4: function(" ) ;
83+ bundle . should . not . containEql ( "window" ) ;
84+ bundle . should . not . containEql ( "jsonp" ) ;
85+ bundle . should . not . containEql ( "fixtures" ) ;
8686 done ( ) ;
8787 } ) ;
8888 } ) ;
@@ -91,21 +91,21 @@ describe("Compiler", function() {
9191 files . should . have . property ( "bundle.js" ) . have . type ( "string" ) ;
9292 Object . keys ( files ) . should . be . eql ( [ "bundle.js" ] ) ;
9393 var bundle = files [ "bundle.js" ] ;
94- bundle . should . include ( "function __webpack_require__(" ) ;
95- bundle . should . include ( "__webpack_require__(/*! ./a */" ) ;
96- bundle . should . include ( "__webpack_require__(/*! ./b */" ) ;
97- bundle . should . include ( "__webpack_require__(/*! ./c */" ) ;
98- bundle . should . include ( "./abc.js" ) ;
99- bundle . should . include ( "./a.js" ) ;
100- bundle . should . include ( "./b.js" ) ;
101- bundle . should . include ( "./c.js" ) ;
102- bundle . should . include ( "This is a" ) ;
103- bundle . should . include ( "This is b" ) ;
104- bundle . should . include ( "This is c" ) ;
105- bundle . should . not . include ( "4: function(" ) ;
106- bundle . should . not . include ( "window" ) ;
107- bundle . should . not . include ( "jsonp" ) ;
108- bundle . should . not . include ( "fixtures" ) ;
94+ bundle . should . containEql ( "function __webpack_require__(" ) ;
95+ bundle . should . containEql ( "__webpack_require__(/*! ./a */" ) ;
96+ bundle . should . containEql ( "__webpack_require__(/*! ./b */" ) ;
97+ bundle . should . containEql ( "__webpack_require__(/*! ./c */" ) ;
98+ bundle . should . containEql ( "./abc.js" ) ;
99+ bundle . should . containEql ( "./a.js" ) ;
100+ bundle . should . containEql ( "./b.js" ) ;
101+ bundle . should . containEql ( "./c.js" ) ;
102+ bundle . should . containEql ( "This is a" ) ;
103+ bundle . should . containEql ( "This is b" ) ;
104+ bundle . should . containEql ( "This is c" ) ;
105+ bundle . should . not . containEql ( "4: function(" ) ;
106+ bundle . should . not . containEql ( "window" ) ;
107+ bundle . should . not . containEql ( "jsonp" ) ;
108+ bundle . should . not . containEql ( "fixtures" ) ;
109109 done ( ) ;
110110 } ) ;
111111 } ) ;
@@ -117,21 +117,21 @@ describe("Compiler", function() {
117117 Object . keys ( files ) . should . be . eql ( [ "bundle.js" , "1.bundle.js" ] ) ;
118118 var bundle = files [ "bundle.js" ] ;
119119 var chunk = files [ "1.bundle.js" ] ;
120- bundle . should . include ( "function __webpack_require__(" ) ;
121- bundle . should . include ( "__webpack_require__(/*! ./b */" ) ;
122- chunk . should . not . include ( "__webpack_require__(/* ./b */" ) ;
123- bundle . should . include ( "./chunks.js" ) ;
124- chunk . should . include ( "./a.js" ) ;
125- chunk . should . include ( "./b.js" ) ;
126- chunk . should . include ( "This is a" ) ;
127- bundle . should . not . include ( "This is a" ) ;
128- chunk . should . include ( "This is b" ) ;
129- bundle . should . not . include ( "This is b" ) ;
130- bundle . should . not . include ( "4: function(" ) ;
131- bundle . should . not . include ( "fixtures" ) ;
132- chunk . should . not . include ( "fixtures" ) ;
133- bundle . should . include ( "webpackJsonp" ) ;
134- chunk . should . include ( "webpackJsonp(" ) ;
120+ bundle . should . containEql ( "function __webpack_require__(" ) ;
121+ bundle . should . containEql ( "__webpack_require__(/*! ./b */" ) ;
122+ chunk . should . not . containEql ( "__webpack_require__(/* ./b */" ) ;
123+ bundle . should . containEql ( "./chunks.js" ) ;
124+ chunk . should . containEql ( "./a.js" ) ;
125+ chunk . should . containEql ( "./b.js" ) ;
126+ chunk . should . containEql ( "This is a" ) ;
127+ bundle . should . not . containEql ( "This is a" ) ;
128+ chunk . should . containEql ( "This is b" ) ;
129+ bundle . should . not . containEql ( "This is b" ) ;
130+ bundle . should . not . containEql ( "4: function(" ) ;
131+ bundle . should . not . containEql ( "fixtures" ) ;
132+ chunk . should . not . containEql ( "fixtures" ) ;
133+ bundle . should . containEql ( "webpackJsonp" ) ;
134+ chunk . should . containEql ( "webpackJsonp(" ) ;
135135 done ( ) ;
136136 } ) ;
137137 } ) ;
0 commit comments