File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -127,17 +127,14 @@ describe("documentjs/lib/generators/html/build",function(){
127
127
return build . staticDist ( {
128
128
forceBuild : true ,
129
129
html : {
130
- dependencies : {
131
- "can-component" : "3.0.0-pre.9"
132
- } ,
133
130
staticDist : [
134
131
path . join ( __dirname , '..' , 'test-static-dist' )
135
132
]
136
133
} ,
137
134
} ) . then ( function ( result ) {
138
135
return read ( path . join ( __dirname , ".." , result . distFolder , "test.css" ) ) ;
139
136
} ) . then ( function ( res ) {
140
- assert . ok ( / # T e s t I D / . test ( res ) , "got static.js with component " ) ;
137
+ assert . ok ( / # T e s t I D / . test ( res ) , "got test.css file " ) ;
141
138
} ) ;
142
139
} ) ;
143
140
@@ -146,17 +143,14 @@ describe("documentjs/lib/generators/html/build",function(){
146
143
return build . staticDist ( {
147
144
forceBuild : true ,
148
145
html : {
149
- dependencies : {
150
- "can-component" : "3.0.0-pre.9"
151
- } ,
152
146
staticDist : [
153
147
'./test-static-dist'
154
148
]
155
149
} ,
156
150
} ) . then ( function ( result ) {
157
151
return read ( path . join ( __dirname , ".." , result . distFolder , "test.css" ) ) ;
158
152
} ) . then ( function ( res ) {
159
- assert . ok ( / # T e s t I D / . test ( res ) , "got static.js with component " ) ;
153
+ assert . ok ( / # T e s t I D / . test ( res ) , "got test.css file " ) ;
160
154
} ) ;
161
155
} ) ;
162
156
You can’t perform that action at this time.
0 commit comments