Skip to content

Commit e0721cb

Browse files
committed
Forcing the rewrite of the map file since it shares an artifact with the simple test.
1 parent 17be754 commit e0721cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/test-middleware.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,14 @@ describe('middleware', function(){
4646
describe('source map', function(){
4747
var app = setupExpress(__dirname + '/fixtures', {
4848
dest: tmpDest,
49+
force: true, // Need to force since using the same file as the simple test.
4950
compiler: {
5051
sourceMap: true
5152
}
5253
});
5354

5455
it('should handle source map files', function(done){
5556
var expected = fs.readFileSync(__dirname + '/fixtures/simple-exp.css.map', 'utf8');
56-
request(app)
57-
.get('/simple.css')
58-
.expect(200);
5957
request(app)
6058
.get('/simple.css.map')
6159
.expect(200)

0 commit comments

Comments
 (0)