(source)
| 60 | } |
| 61 | |
| 62 | function extractSourceMap(source) { |
| 63 | const m = source.match(/\/\*# sourceMappingURL=data:application\/json;base64,(.+) \*\//); |
| 64 | |
| 65 | if (m) { |
| 66 | return Buffer.from(m[1], 'base64').toString(); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | describe('sourceMaps', () => { |
| 71 | it('should return object when sourceMap is true', () => { |
no outgoing calls
no test coverage detected
searching dependent graphs…