node_modules/browserify/test/bundle_sourcemap.js in sprockets-browserify-0.2.0 vs node_modules/browserify/test/bundle_sourcemap.js in sprockets-browserify-0.3.0
- old
+ new
@@ -9,11 +9,11 @@
var secondtolastLine = src.split('\n').slice(-2);
t.ok(typeof src === 'string');
t.ok(src.length > 0);
- t.ok(/^\/\/@ sourceMappingURL=/.test(secondtolastLine), 'includes sourcemap');
+ t.ok(/^\/\/# sourceMappingURL=/.test(secondtolastLine), 'includes sourcemap');
});
});
test('bundle in non debug mode', function (t) {
var b = browserify();
@@ -23,8 +23,8 @@
var secondtolastLine = src.split('\n').slice(-2);
t.ok(typeof src === 'string');
t.ok(src.length > 0);
- t.notOk(/^\/\/@ sourceMappingURL=/.test(secondtolastLine), 'includes no sourcemap');
+ t.notOk(/^\/\/# sourceMappingURL=/.test(secondtolastLine), 'includes no sourcemap');
});
});