summaryrefslogtreecommitdiffstats
path: root/spec/source-map.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2013-06-01 23:57:21 -0500
committerkpdecker <kpdecker@gmail.com>2013-06-01 23:57:21 -0500
commitbcc8d00e892190b703aaf6dfffc5e00133c6370b (patch)
treeb26dc885ca9d673027a3410350e45f1b1199ad74 /spec/source-map.js
parent9d4a94616a6e6cc6dd6503496a3f9716826e1bcf (diff)
downloadhandlebars.js-bcc8d00e892190b703aaf6dfffc5e00133c6370b.zip
handlebars.js-bcc8d00e892190b703aaf6dfffc5e00133c6370b.tar.gz
handlebars.js-bcc8d00e892190b703aaf6dfffc5e00133c6370b.tar.bz2
Remove incorrectly commited test file
Diffstat (limited to 'spec/source-map.js')
-rw-r--r--spec/source-map.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/source-map.js b/spec/source-map.js
deleted file mode 100644
index 9b9fa51..0000000
--- a/spec/source-map.js
+++ /dev/null
@@ -1,18 +0,0 @@
-var sourceMap = require('source-map'),
- SourceMapConsumer = sourceMap.SourceMapConsumer;
-
-describe('source-map', function() {
- if (!Handlebars.Parser) {
- return;
- }
-
- it('returns source map', function() {
- var template = Handlebars.precompile('{{foo}}', {filename: 'foo.handlebars', sourcemap: true});
- (typeof template.template).should.equal('string');
- (typeof template.sourcemap).should.equal('string');
- return;
- var consumer = new SourceMapConsumer(template.sourcemap);
- consumer.eachMapping(function(mapping) {
- }, this, SourceMapConsumer.ORIGINAL_ORDER);
- });
-});