Skip to content

Commit 6917fa8

Browse files
author
刘祺
committed
fix travis-ci blocked by other issues #94
1 parent 91445f4 commit 6917fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ it('should generate source maps', function (cb) {
115115

116116
write.on('data', function (file) {
117117
assert.equal(file.sourceMap.mappings, 'AAAA,IAAI,aAAY,CAAZ,aAAY,CAAZ,aAAY,CAAZ,YAAY,EAAE')
118-
assert(/sourceMappingURL=data:application\/json;base64/.test(file.contents.toString()))
118+
assert(/sourceMappingURL=data:application\/json;(?:charset=\w+;)?base64/.test(file.contents.toString()))
119119
cb()
120120
})
121121

0 commit comments

Comments
 (0)