mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
12 lines
198 B
JavaScript
12 lines
198 B
JavaScript
export function mochaGlobalSetup() {
|
|
globalThis.Path2D ??= class Path2D {
|
|
constructor(path) {
|
|
this.path = path
|
|
}
|
|
|
|
get [Symbol.toStringTag]() {
|
|
return `Path2D`;
|
|
}
|
|
}
|
|
}
|