mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 01:56:27 +08:00
chore: migrate blocksuite test (#9222)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import process from 'node:process';
|
||||
|
||||
const editorIndex = {
|
||||
0: 0,
|
||||
1: 1,
|
||||
}[process.env.MULTIPLE_EDITOR_INDEX ?? ''];
|
||||
export const scope =
|
||||
editorIndex == null
|
||||
? undefined
|
||||
: editorIndex === 0
|
||||
? 'FIRST | '
|
||||
: 'SECOND | ';
|
||||
export const multiEditor = scope != null;
|
||||
|
||||
export const currentEditorIndex = editorIndex ?? 0;
|
||||
Reference in New Issue
Block a user