File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -126,18 +126,18 @@ describe("loader", function() {
126
126
'module.exports = "<a href=\\"${list.href}\\"><img src=\\"" + require("./test.jpg") + "\\" /></a>";'
127
127
) ;
128
128
} ) ;
129
- it ( "should export as default export for es6to5 transpilation" , function ( ) {
130
- loader . call ( {
131
- query : "?exportAsDefault"
132
- } , '<p>Hello world!</p>' ) . should . be . eql (
133
- 'exports.default = "<p>Hello world!</p>";'
134
- ) ;
135
- } ) ;
136
- it ( "should export as es6 default export" , function ( ) {
137
- loader . call ( {
138
- query : "?exportAsEs6Default"
139
- } , '<p>Hello world!</p>' ) . should . be . eql (
140
- 'exports default "<p>Hello world!</p>";'
141
- ) ;
142
- } ) ;
129
+ it ( "should export as default export for es6to5 transpilation" , function ( ) {
130
+ loader . call ( {
131
+ query : "?exportAsDefault"
132
+ } , '<p>Hello world!</p>' ) . should . be . eql (
133
+ 'exports.default = "<p>Hello world!</p>";'
134
+ ) ;
135
+ } ) ;
136
+ it ( "should export as es6 default export" , function ( ) {
137
+ loader . call ( {
138
+ query : "?exportAsEs6Default"
139
+ } , '<p>Hello world!</p>' ) . should . be . eql (
140
+ 'exports default "<p>Hello world!</p>";'
141
+ ) ;
142
+ } ) ;
143
143
} ) ;
You can’t perform that action at this time.
0 commit comments