Skip to content

Commit b4e8250

Browse files
test: fix
1 parent f78eceb commit b4e8250

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/runtime/api.test.js

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ describe('runtime', () => {
4343
expect(m.toString()).toMatchSnapshot();
4444
});
4545
it('toString with source mapping', () => {
46+
global.btoa = (str) => new Buffer(str, 'binary').toString('base64');
47+
4648
const m = api(true);
4749

4850
m.push([

0 commit comments

Comments
 (0)