mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 00:46:23 +00:00
fix(editor): add yarn test and fix CI
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
if (typeof window === 'undefined') {
|
||||
global.window = {}
|
||||
}
|
||||
|
||||
// Copy from https://github.com/primetwig/react-nestable/blob/dacea9dc191399a3520f5dc7623f5edebc83e7b7/dist/utils.js
|
||||
export var closest = function closest (target, selector) {
|
||||
// closest(e.target, '.field')
|
||||
|
||||
Reference in New Issue
Block a user