broccoli-asset-rev
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "broccoli-asset-rev", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "broccoli asset revisions (fingerprint)", | ||
@@ -30,3 +30,3 @@ "main": "lib/asset-rev.js", | ||
"dependencies": { | ||
"broccoli-asset-rewrite": "^1.0.0", | ||
"broccoli-asset-rewrite": "^1.0.1", | ||
"broccoli-filter": "~0.1.6", | ||
@@ -33,0 +33,0 @@ "rsvp": "~3.0.6" |
@@ -81,2 +81,16 @@ var fs = require('fs'); | ||
it('replaces the correct match for the file extension', function () { | ||
var sourcePath = 'tests/fixtures/extensions'; | ||
var tree = assetRev(sourcePath + '/input', { | ||
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'woff', 'woff2', 'ttf', 'svg', 'eot'], | ||
replaceExtensions: ['html', 'js' ,'css'] | ||
}); | ||
builder = new broccoli.Builder(tree); | ||
return builder.build().then(function (graph) { | ||
confirmOutput(graph.directory, sourcePath + '/output'); | ||
}); | ||
}); | ||
it('uses customHash string value', function(){ | ||
@@ -83,0 +97,0 @@ var sourcePath = 'tests/fixtures/customHash-simple'; |
41290
68
407