Skip to content

Commit fa9132e

Browse files
author
laland
committed
fixes formatting issues
1 parent ef00666 commit fa9132e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/loaderTest.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -126,18 +126,18 @@ describe("loader", function() {
126126
'module.exports = "<a href=\\"${list.href}\\"><img src=\\"" + require("./test.jpg") + "\\" /></a>";'
127127
);
128128
});
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+
});
143143
});

0 commit comments

Comments
 (0)