Skip to content

Commit b308a83

Browse files
author
刘祺
committed
1 parent 2cdf9a8 commit b308a83

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ sudo: false
22
language: node_js
33
node_js:
44
- iojs
5+
- "stable"
56
- "0.12"
67
- "0.10"

test.js

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

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

0 commit comments

Comments
 (0)