Set proper name for faked getContext

This commit is contained in:
kkapsner 2020-06-01 14:03:32 +02:00
parent 3e3dbf2698
commit 2c141277e8
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@
},
object: "HTMLCanvasElement",
fakeGenerator: function(checker){
return function(context, contextAttributes){
return function getContext(context, contextAttributes){
return checkerWrapper(checker, this, arguments, function(args, check){
const {original} = check;
canvasContextType.set(this, context);