mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
fix: using existing canvas option (#2017)
* refactor: document cleanup to DocumentCloner * fix: using existing canvas option * fix: lint errors * fix: preview transform origin
This commit is contained in:
committed by
GitHub
parent
34b06d6365
commit
076492042a
17
src/core/__mocks__/logger.ts
Normal file
17
src/core/__mocks__/logger.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
export class Logger {
|
||||
debug() {}
|
||||
|
||||
static create() {}
|
||||
|
||||
static destroy() {}
|
||||
|
||||
static getInstance(): Logger {
|
||||
return logger;
|
||||
}
|
||||
|
||||
info() {}
|
||||
|
||||
error() {}
|
||||
}
|
||||
|
||||
const logger = new Logger();
|
||||
Reference in New Issue
Block a user