UNPKG
watermarkjs
Version:
1.0.0 (1.0.0)
latest (2.1.1)
2.1.1
2.0.0
1.1.0
1.0.0
Watermarked images in the browser
github.com/brianium/watermarkjs
brianium/watermarkjs
watermarkjs
/
jestEnvironment.js
15 lines
(10 loc)
•
179 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
jest.
autoMockOff
();
window
.
atob
=
function
(
base64
) {
return
'decoded!'
; }
window
.
File
=
function
(
) { };
window
.
Image
=
function
(
) {
this
.
width
=
50
;
this
.
height
=
50
; }