Skip to content

Commit 23592d8

Browse files
committed
fix tests due to babel & html-minifier upgrade
1 parent b3adc17 commit 23592d8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test/expects/basic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var _createClass3 = _interopRequireDefault(_createClass2);
1515

1616
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1717

18-
var Test = (function () {
18+
var Test = function () {
1919
function Test() {
2020
(0, _classCallCheck3.default)(this, Test);
2121
}
@@ -25,7 +25,7 @@ var Test = (function () {
2525
value: function ok() {}
2626
}]);
2727
return Test;
28-
})();
28+
}();
2929

3030
var evens = [2, 4, 6, 8];
3131
var odds = evens.map(function (v) {

test/expects/jade.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
;(typeof module.exports === "function"? module.exports.options: module.exports).template = "<ul><li>foo</li><li>bar</li><li>baz</li></ul><ul><li>foo</li><li>bar</li><li>baz</li></ul>"
1+
;(typeof module.exports === "function"? module.exports.options: module.exports).template = "<ul><li>foo<li>bar<li>baz</ul><ul><li>foo<li>bar<li>baz</ul>"

test/expects/multiple.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ module.exports = {
1414
};
1515

1616
if (module.exports.__esModule) module.exports = module.exports.default
17-
;(typeof module.exports === "function"? module.exports.options: module.exports).template = "<h1>Jade - node template engine<div id=container class=col><a href=http://vuejs.org>You are amazing</a><p>Jade is a terse and simple templating language with a strong focus on performance and powerful features.</p></div></h1>"
17+
;(typeof module.exports === "function"? module.exports.options: module.exports).template = "<h1>Jade - node template engine<div id=container class=col><a href=http://vuejs.org>You are amazing</a><p>Jade is a terse and simple templating language with a strong focus on performance and powerful features.</div></h1>"

test/expects/scoped.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy