We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfd166f commit 650d7b7Copy full SHA for 650d7b7
test/write.js
@@ -461,4 +461,12 @@ describe('write', function() {
461
done(err);
462
});
463
464
+
465
+ it('should create shortest path to file in sourceMap#file', function(done) {
466
+ var file = makeNestedFile();
467
+ sourcemaps.write(file, { path: 'dir1/maps' }, function(err, updatedFile) {
468
+ expect(updatedFile.sourceMap.file).toEqual('../../../dir2/helloworld.js');
469
+ done(err);
470
+ });
471
472
0 commit comments