Skip to content

Commit

Permalink
Update: Allow test to pass on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Mar 23, 2017
1 parent f622aca commit e1d8ab3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var expect = require('expect');

var miss = require('mississippi');
var File = require('vinyl');
var normalize = require('normalize-path');

var mapSources = require('../');

Expand Down Expand Up @@ -217,8 +218,9 @@ describe('mapSources', function() {
expect(files.length).toEqual(1);

var file = files[0];
var base = normalize(file.base);

expect(file.sourceMap.sources).toEqual([file.base + '/helloworld.js', file.base + '/helloworld2.js']);
expect(file.sourceMap.sources).toEqual([base + '/helloworld.js', base + '/helloworld2.js']);
}

pipe([
Expand Down

0 comments on commit e1d8ab3

Please sign in to comment.