Skip to content

Commit feffd3d

Browse files
committed
the test was not failing; just an issue with the test
1 parent 7173042 commit feffd3d

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

test/files/with_comments.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ var
1111

1212

1313
module.exports = function () {
14-
var
15-
tag = document.createElement('style'),
16-
content = document.createTextNode(style);
17-
18-
tag.appendChild(content);
19-
document.body.appendChild(tag);
14+
console.log(style);
2015
};
16+
17+
module.exports();

test/with_comments.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ test('with comment separators', function (t) {
1515
b.transform(path.dirname(__dirname));
1616

1717
b.bundle(function (err, src) {
18-
console.error("NOT PRESENTLY WORKING: with_comments.js");
19-
t.ok(true, 'failing test');
20-
// if (err) t.fail(err);
21-
// vm.runInNewContext(src, { console: { log: log } });
18+
if (err) t.fail(err);
19+
vm.runInNewContext(src, { console: { log: log } });
2220
});
2321

2422
function log (msg) {

0 commit comments

Comments
 (0)